[DOCS-12717] Docs for SERVER-37574: Force reconfig should kill user operations Created: 19/May/19  Updated: 13/Nov/23  Resolved: 09/Aug/19

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.1.12, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Kay Kim (Inactive) Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: docs-4.2-replication
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-37574 Force reconfig should kill user opera... Closed
Related
related to DOCS-12710 Docs for SERVER-41035: Rollback shoul... Closed
Participants:
Days since reply: 4 years, 26 weeks, 5 days ago
Epic Link: DOCS: 4.2 Server/Tools

 Description   

Description

Description:

We need to update the reconfig doc(https://docs.mongodb.com/master/reference/method/rs.reconfig/#availability). Currently its been mentioned as below.
"The rs.reconfig() shell method can trigger the current primary to step down in some situations. When the primary steps down, it forcibly closes all client connections."

After PM-639(Avoid closing connections and killing operations on step down), we don't close client connections on step down. And, the new behavior of step down will be addressed by DOCS-12469.

Engineering Ticket Description:

Force reconfig from the command and from a heartbeat can lead to a stepdown and thus needs to kill user operations.
Here: https://github.com/mongodb/mongo/blob/a222ef5e647ac527f7d4f8636bcacd6cc0ae6b8e/src/mongo/db/repl/replication_coordinator_impl.cpp#L2329-L2335
And here:
https://github.com/mongodb/mongo/blob/a222ef5e647ac527f7d4f8636bcacd6cc0ae6b8e/src/mongo/db/repl/replication_coordinator_impl_heartbeat.cpp#L559-L568

Scope of changes

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 09/Aug/19 ]

Author:

{'name': 'Kay Kim', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-12717,DOCS-12710: 4.2 reconfig/rollback and inprogress user operations
Branch: master
https://github.com/mongodb/docs/commit/45a52477931ce75d6dcb40c65516b56f9d1414f0

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