[SERVER-31802] Remove Master/Slave Created: 02/Nov/17  Updated: 30/Oct/23  Resolved: 19/Mar/18

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

Type: Task Priority: Major - P3
Reporter: Eric Milkie Assignee: Andy Schwerin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Documented
is documented by DOCS-11473 Docs for SERVER-31802: Remove Master/... Closed
Duplicate
is duplicated by SERVER-31964 Remove master-slave replication Closed
Related
Backwards Compatibility: Major Change
Sprint: Repl 2018-03-26
Participants:
Linked BF Score: 0

 Comments   
Comment by Githook User [ 19/Mar/18 ]

Author:

{'email': 'schwerin@mongodb.com', 'name': 'Andy Schwerin', 'username': 'amschwerin'}

Message: SERVER-31802 Provide a better error message if an operator starts a server with --master or --slave
Branch: master
https://github.com/mongodb/mongo/commit/09e5ecfd797cb3541d9a9507d9d192feffbf046e

Comment by Andy Schwerin [ 15/Mar/18 ]

Last step, add a special error message when the user passes {-master} or {-slave} to inform the user that master/slave replication is no longer supported.

Comment by Githook User [ 15/Mar/18 ]

Author:

{'email': 'schwerin@mongodb.com', 'name': 'Andy Schwerin', 'username': 'amschwerin'}

Message: SERVER-31802 Remove last mention of master-slave from ReplicationCoordinatorImpl.
Branch: master
https://github.com/mongodb/mongo/commit/9374a420ac843e5eb4e7ff081469687dd3e2866a

Comment by Githook User [ 15/Mar/18 ]

Author:

{'email': 'schwerin@mongodb.com', 'name': 'Andy Schwerin', 'username': 'amschwerin'}

Message: SERVER-31802 Rip out more dead master-slave code, and the related concept of RID.
Branch: master
https://github.com/mongodb/mongo/commit/a65df88a0d7ea660e5d87aa667c77c4d4a999bca

Comment by Andy Schwerin [ 15/Mar/18 ]

I've decided to preserve the exemption from the "no dollar-sign collection names" rule for `local.oplog.$main`, so that clusters upgraded from earlier master-slave-supporting versions aren't stuck with a leftover collection they cannot delete or inspect.

Comment by Githook User [ 15/Mar/18 ]

Author:

{'email': 'schwerin@mongodb.com', 'name': 'Andy Schwerin', 'username': 'amschwerin'}

Message: SERVER-31802 Remove master and slave uses from dur suite
Branch: master
https://github.com/mongodb/mongo/commit/137bae8a3739545564cef631e33680108e767330

Comment by Siyuan Zhou [ 14/Mar/18 ]

ReplSettings::isSlave and isMaster also only apply for master-slave.

Comment by Andy Schwerin [ 13/Mar/18 ]

I found a bit more dead code related to master-slave shortly after I closed this ticket, so I'm going to reopen it and do another pass to remove the rest of it.

Comment by Githook User [ 13/Mar/18 ]

Author:

{'email': 'schwerin@mongodb.com', 'name': 'Andy Schwerin', 'username': 'amschwerin'}

Message: SERVER-31802 SERVER-31239 Remove master-slave replication and resync command.
Branch: master
https://github.com/mongodb/mongo/commit/64e649a622b5ac4c1bfad0933132dc7d994b9458

Generated at Thu Feb 08 04:28:13 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.