[SERVER-56846] Fail reconfig for shard server if it would change DWCF and CWWC is not set Created: 11/May/21  Updated: 29/Oct/23  Resolved: 17/Sep/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.1.0-rc0

Type: Task Priority: Major - P3
Reporter: Samyukta Lanka Assignee: Moustafa Maher
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Documented
is documented by DOCS-14701 [SERVER] Investigate changes in SERVE... Closed
Related
is related to SERVER-55690 Check default write concern during re... Closed
Backwards Compatibility: Minor Change
Backport Requested:
v5.0
Sprint: Repl 2021-07-26, Repl 2021-08-09
Participants:

 Description   

Since the shard server doesn't have the CWWC in memory, it will need to poll the config server for that information. We should only do that if the DWCF changes to w:1. We should not be holding any locks when we poll the config server and likely should do this at the beginning of the reconfig command, before we acquire the replication coordinator mutex.



 Comments   
Comment by Vivian Ge (Inactive) [ 06/Oct/21 ]

Updating the fixversion since branching activities occurred yesterday. This ticket will be in rc0 when it’s been triggered. For more active release information, please keep an eye on #server-release. Thank you!

Comment by Githook User [ 17/Sep/21 ]

Author:

{'name': 'Moustafa Maher', 'email': 'm.maher@10gen.com', 'username': 'moustafamaher'}

Message: Revert "SERVER-56846 Fail reconfig for shard server if it would change DWCF and CWWC is not set"

This reverts commit 081648d6c77cfaab1688ed762aff14c665a72415.
Branch: v5.0
https://github.com/mongodb/mongo/commit/657fea5a61a74d7a79df7aff8e4bcf0bc742b748

Comment by Githook User [ 10/Aug/21 ]

Author:

{'name': 'Moustafa Maher', 'email': 'm.maher@10gen.com', 'username': 'moustafamaher'}

Message: SERVER-56846 Fail reconfig for shard server if it would change DWCF and CWWC is not set
Branch: v5.0
https://github.com/mongodb/mongo/commit/081648d6c77cfaab1688ed762aff14c665a72415

Comment by Githook User [ 03/Aug/21 ]

Author:

{'name': 'Moustafa Maher', 'email': 'm.maher@10gen.com', 'username': 'moustafamaher'}

Message: SERVER-56846 Fail reconfig for shard server if it would change DWCF and CWWC is not set
Branch: master
https://github.com/mongodb/mongo/commit/8bb21e771efc237f95da64bcd7fcb86759ed1098

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