-
Notifications
You must be signed in to change notification settings - Fork 107
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #12143 from amaltaro/fix-11192
Replace WorkQueue replication filter by selector function
- Loading branch information
Showing
3 changed files
with
59 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
src/python/WMComponent/AgentStatusWatcher/replication_selector.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
|
||
{ | ||
"_comment": "This corresponds to a set of selector filter functions for CouchDB database replication", | ||
"WMStatsAgent/repfilter": { | ||
"_deleted": {"$exists": false}, | ||
"_id": {"$regex": "^(?!_design/)"} | ||
}, | ||
"T0Request/repfilter": { | ||
"_id": {"$regex": "^(?!_design/)"} | ||
}, | ||
"WorkQueue/queueFilter": { | ||
"_deleted": {"$exists": false}, | ||
"type": "WMCore.WorkQueue.DataStructs.WorkQueueElement.WorkQueueElement", | ||
"WMCore\\.WorkQueue\\.DataStructs\\.WorkQueueElement\\.WorkQueueElement": | ||
{"ParentQueueUrl": "config.WorkQueueManager.queueParams['ParentQueueCouchUrl']", | ||
"ChildQueueUrl": "config.WorkQueueManager.queueParams['QueueURL']"} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters