[SERVER-48468] Update sharding architecture guide for quiesce mode Created: 28/May/20  Updated: 29/Oct/23  Resolved: 02/Jul/20

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

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

Issue Links:
Related
related to SERVER-48216 Update architecture guide for quiesce... Closed
Backwards Compatibility: Fully Compatible
Sprint: Repl 2020-07-13
Participants:

 Comments   
Comment by Githook User [ 01/Jul/20 ]

Author:

{'name': 'Tess Avitabile', 'email': 'tess.avitabile@mongodb.com', 'username': 'tessavitabile'}

Message: SERVER-48468 Update sharding architecture guide for quiesce mode
Branch: master
https://github.com/mongodb/mongo/commit/2cf5c4e62f3204c424c861cf9f07918dac1280a5

Comment by Githook User [ 29/May/20 ]

Author:

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

Message: SERVER-48468 Add sub-section headers for 'Node startup and shutdown' section of sharding arch guide
Branch: master
https://github.com/mongodb/mongo/commit/07617f979cea3d9003836ef2af6ac5c8b79281be

Comment by Tess Avitabile (Inactive) [ 29/May/20 ]

Sounds good, thank you!

Comment by Esha Maharishi (Inactive) [ 28/May/20 ]

Hmm. Happy to have replication update the sharding arch guide for quiesce mode, though I'm thinking about what section it should go in.

alex.taskov is going to add a section on sharding component initialization and shutdown (SERVER-48424), but this is more about where and how specific components (ShardRegistry, CatalogCache, etc) are initialized and shut down.

How about we renameĀ this section to "Node startup and shutdown" and make it have two subsections, one that Alex is adding and one called "Quiesce mode on shutdown" (or similar) that replication can fill in?

Comment by Tess Avitabile (Inactive) [ 28/May/20 ]

esha.maharishi, we're updating the Replication architecture guide to contain a sentence on quiesce mode. Shall we update the Sharding architecture guide too, or would you prefer Sharding do so? If Replication does it, what section should it go in? I could imagine either having a section on TopologyVersion or on shutdown.

For a section on TopologyVersion, I would make the text something like, "mongos has a TopologyVersion, which it updates on significant topology changes (anything that affects the response to isMaster). The isMaster command awaits changes in the TopologyVersion before returning. Currently, the only significant topology change is entering quiesce mode: the mongos increments the TopologyVersion and starts responding to isMaster commands with a ShutdownInProgress error, so that clients cease routing new operations to the node."

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