[SERVER-32529] Requiring replSet for shards breaks Queryable Backup Created: 03/Jan/18  Updated: 30/Oct/23  Resolved: 04/Jan/18

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 3.6.1
Fix Version/s: 3.6.2, 3.7.1

Type: Bug Priority: Critical - P2
Reporter: Chunming Li (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
Related
related to SERVER-32052 Update ShardingTest to default to sta... Closed
related to SERVER-32531 Require --shardsvrs not started in qu... Closed
is related to SERVER-32105 Require shard servers and config serv... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v3.6
Sprint: Sharding 2018-01-15
Participants:

 Description   

The validation added in SERVER-32105 breaks Queryable Backup of 3.6.1 sharded clusters:

InvalidOptions: Cannot start a shardsvr as a standalone server. Please start this node as a replica set using --replSet or the config file option replication.replSetName

Unfortunately the queryable mongods are readonly and there's no way to initialize the rsConfig for them. Can we relax the validation and add an exception to queryable backup mode?



 Comments   
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 Esha Maharishi (Inactive) [ 03/Jan/18 ]

Ok, I'm reverting SERVER-32105 under this ticket, and filed SERVER-32531 to re-address this with the exception for queryable backup mode.

Comment by Daniel Pasette (Inactive) [ 03/Jan/18 ]

We need to revert this change.

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