[SERVER-35443] update help text for CmdShutdownMongoD Created: 06/Jun/18  Updated: 08/Jan/24  Resolved: 11/May/20

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

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

Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Repl 2020-05-18
Participants:

 Description   

The help text for the shutdown command is no longer accurate, as we have changed the behavior of the stepDown function. It now waits 10 seconds for a secondary to be completely caught up, instead of immediately checking to see if any node is within 10 seconds of lag.

Additionally, it would make sense to change the freeze time that shutdown uses in its stepdown from "120 seconds" to something much higher, as it ideally should be infinite. If something stalled shutdown for more than 120 seconds, it might be possible for a node to elect itself primary again.



 Comments   
Comment by Githook User [ 11/May/20 ]

Author:

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

Message: SERVER-35443 Update help text for shutdown commands and increase freeze time
Branch: master
https://github.com/mongodb/mongo/commit/42acb126b4609f20c559d80debd0e9d2db9cff44

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