[SERVER-25417] harden checks around using --shardSvr, --overrideShardIdentity, and queryableBackupMode Created: 02/Aug/16  Updated: 02/Dec/16  Resolved: 04/Aug/16

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

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

Issue Links:
Documented
is documented by DOCS-9438 Docs for SERVER-25417: harden checks ... Closed
Related
is related to SERVER-22663 Make --shardsvr required for a mongod... Closed
Backwards Compatibility: Fully Compatible
Sprint: Sharding 18 (08/05/16)
Participants:

 Description   

in queryableBackupMode:

  • require --overrideShardIdentity if started with --shardsvr
  • add a warning if started with --overrideShardIdentity but not --shardsvr

in non-queryableBackupMode:

  • fail if started with --overrideShardIdentity
  • add a warning if a shardIdentity document exists on disk but not started with --shardsvr
  • add a warning if no shardIdentity document exists on disk but started with --shardsvr

additionally:

  • use Date_t::max() as the deadline for initializeFromShardIdentity() in all cases
  • generally refactor startup and shard aware initialization code for clarity and conciseness


 Comments   
Comment by Githook User [ 11/Aug/16 ]

Author:

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

Message: SERVER-25417 flesh out log messages in ShardingState::initializeShardingAwarenessIfNeeded
Branch: master
https://github.com/mongodb/mongo/commit/b4b3cda7501f1d4a292f3b02e13631fae8d4de7f

Comment by Esha Maharishi (Inactive) [ 04/Aug/16 ]

See description for required documentation changes.

Comment by Githook User [ 04/Aug/16 ]

Author:

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

Message: SERVER-25417 harden checks around using --shardSvr, --overrideShardIdentity, and queryableBackupMode
Branch: master
https://github.com/mongodb/mongo/commit/58f8401f1f79dc9ec33b9fdbb3eeb21d9f508245

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