[SERVER-32105] Require shard servers and config servers to be started with --replSet or 'replSetName' Created: 28/Nov/17  Updated: 30/Oct/23  Resolved: 30/Nov/17

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

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

Issue Links:
Backports
Documented
is documented by DOCS-11096 Docs for SERVER-32105: Require shard ... Closed
Problem/Incident
Related
related to SERVER-32529 Requiring replSet for shards breaks Q... Closed
related to SERVER-32052 Update ShardingTest to default to sta... Closed
is related to SERVER-32051 Require shard servers and config serv... Closed
is related to SERVER-32531 Require --shardsvrs not started in qu... Closed
Backwards Compatibility: Major Change
Backport Requested:
v3.6
Sprint: Sharding 2017-12-04
Participants:

 Description   

This ticket re-commits the patch from SERVER-32051, except it prevents starting up a --shardsvr if not also started with --replSet OR --replSetName (instead of just --replSet), unless the node is started with --enableTestCommands.



 Comments   
Comment by Esha Maharishi (Inactive) [ 14/Jul/21 ]

This ticket was reverted under SERVER-32529 since requiring shard servers to be started as a replica set broke queryable backup.

SERVER-32531 was filed to require shard servers to be started as a replica set except if in queryable backup mode.

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 [ 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 eda6982ae8f5ebac140cb2420210776828cae947.
Branch: v3.6
https://github.com/mongodb/mongo/commit/4311ab987be8ac624556fc3c6a4940995f7229d3

Comment by Githook User [ 05/Dec/17 ]

Author:

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

Message: SERVER-32105 Require shard servers and config servers to be started with --replSet or 'replSetName'
Branch: v3.6
https://github.com/mongodb/mongo/commit/eda6982ae8f5ebac140cb2420210776828cae947

Comment by Githook User [ 30/Nov/17 ]

Author:

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

Message: SERVER-32105 Require shard servers and config servers to be started with --replSet or 'replSetName'
Branch: master
https://github.com/mongodb/mongo/commit/f06a20d13525ce975e88ff17a0de790b86d51c11

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