[SERVER-32051] Require shard servers and config servers to be replica sets Created: 21/Nov/17  Updated: 26/Feb/21  Resolved: 02/Oct/19

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: None
Fix Version/s: 3.6.0-rc5, 3.7.1

Type: Task Priority: Major - P3
Reporter: Esha Maharishi (Inactive) Assignee: Esha Maharishi (Inactive)
Resolution: Incomplete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Documented
is documented by DOCS-11064 Docs for SERVER-32051: Require shard ... Closed
Related
related to SERVER-32080 Unable to start nodes in sharded clus... Closed
related to SERVER-32052 Update ShardingTest to default to sta... Closed
related to SERVER-32105 Require shard servers and config serv... Closed
is related to SERVER-32531 Require --shardsvrs not started in qu... Closed
Backport Requested:
v3.6
Sprint: Sharding 2017-12-04
Participants:

 Description   

prevent starting up a --shardsvr if not also started with --replSet, unless the node is started with --enableTestCommands



 Comments   
Comment by Esha Maharishi (Inactive) [ 02/Oct/19 ]

Well, I'm not able to re-open it for some reason. ratika.gandhi, do you know what's going on?

Comment by Esha Maharishi (Inactive) [ 02/Oct/19 ]

Closing to re-open, since it was reverted on all branches it was originally committed on.

Comment by Githook User [ 04/Jan/18 ]

Author:

{'name': 'Esha Maharishi', 'username': 'EshaMaharishi', 'email': 'esha.maharishi@mongodb.com'}

Message: SERVER-32529 Revert "SERVER-32105 Require shard servers and config servers to be started with --replSet or 'replSetName'"

This reverts commit f06a20d13525ce975e88ff17a0de790b86d51c11.

Also revert "SERVER-32051 Require shard servers and config servers to be replica sets"

This reverts commit 554606b35c2da399b224380a7ab5cd16b736e514.
Branch: master
https://github.com/mongodb/mongo/commit/7a1c7b85f2cf120178d631c2c8c6f0d2eaa780b9

Comment by Githook User [ 23/Nov/17 ]

Author:

{'name': 'Ramon Fernandez', 'email': 'ramon@mongodb.com'}

Message: Revert "SERVER-32051 Require shard servers and config servers to be replica sets"

This reverts commit e35e66b50e4a0b362004730c8481025917c4e152.

Part of SERVER-32080 as well.
Branch: v3.6
https://github.com/mongodb/mongo/commit/51251b3d49ea486ba2391a77ca04c187552042dd

Comment by Eric Milkie [ 22/Nov/17 ]

I think this commit is problematic. We have always intended on removing support for --replSet, and moving to just using --replSetName. Since a node can be directed to start as a replica set member with either --replSet or --replSetName (and their equivalent config file aliases), we may need to change the logic for this.

Comment by Esha Maharishi (Inactive) [ 22/Nov/17 ]

I don't think driver changes are needed, but marking as 'major change' for backwards compatibility since any old code that started --shardsvrs without --replSet will fail.

Comment by Githook User [ 22/Nov/17 ]

Author:

{'name': 'Esha Maharishi', 'username': 'EshaMaharishi', 'email': 'esha.maharishi@mongodb.com'}

Message: SERVER-32051 Require shard servers and config servers to be replica sets

(cherry picked from commit 554606b35c2da399b224380a7ab5cd16b736e514)
Branch: v3.6
https://github.com/mongodb/mongo/commit/e35e66b50e4a0b362004730c8481025917c4e152

Comment by Githook User [ 22/Nov/17 ]

Author:

{'name': 'Esha Maharishi', 'username': 'EshaMaharishi', 'email': 'esha.maharishi@mongodb.com'}

Message: SERVER-32051 Require shard servers and config servers to be replica sets
Branch: master
https://github.com/mongodb/mongo/commit/554606b35c2da399b224380a7ab5cd16b736e514

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