[SERVER-7320] allow for a blacklist for replication Created: 11/Oct/12  Updated: 02/Apr/13  Resolved: 02/Apr/13

Status: Closed
Project: Core Server
Component/s: Replication
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Major - P3
Reporter: Kenny Gorman Assignee: Unassigned
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-1559 Ability for a replica set node to onl... Backlog
Participants:

 Description   

It would be really nice to be able to blacklist an array of collections that are exempt from replication. It could be an option to the config object for the replica set.

The replica simply would ignore replicating things with this namespace/collection specification.

It would be required to be priority:0 when this setting is active.

This allows for nice trim special purpose slaves to be setup for reporting/analytics/DR or other purposes based simply on a collection basis.

{
			"_id" : 1,
			"name" : "localhost:9002",
			"health" : 1,
			"state" : 2,
			"stateStr" : "SECONDARY",
			"uptime" : 1759718,
			"optime" : Timestamp(1349917851000, 1),
			"optimeDate" : ISODate("2012-10-11T01:10:51Z"),
			"lastHeartbeat" : ISODate("2012-10-11T01:10:58Z"),
			"pingMs" : 0,
                        "blacklist":['test.foo','test.bar'],
                        "priority":0
		},
 
 



 Comments   
Comment by Eliot Horowitz (Inactive) [ 02/Apr/13 ]

SERVER-1559

Generated at Thu Feb 08 03:14:11 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.