[SERVER-56845] Fail addShard if DWCF=w:1 and no CWWC is set Created: 11/May/21  Updated: 29/Oct/23  Resolved: 16/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
depends on SERVER-56844 Fassert shard server on startup if DW... Closed
Documented
is documented by DOCS-14643 Investigate changes in SERVER-56845: ... Closed
Related
is related to SERVER-55691 Check default write concern when addi... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Repl 2021-07-12, Repl 2021-07-26
Participants:

 Description   

The config server could request the replica set's config as part of the validation in _validateHostAsShard to be able to see what the result of the DWCF would be.

This might be unnecessary depending on the implementation for SERVER-56844.



 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 [ 16/Sep/21 ]

Author:

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

Message: Revert "SERVER-56845 Fail addShard if DWCF=w:1 and no CWWC is set"

This reverts commit e75ba7eac21752976e3393556da839d6088d5cea.
Branch: v5.0
https://github.com/mongodb/mongo/commit/0cdc28063bb607efd2cb732cc88471f6396abd48

Comment by Githook User [ 09/Aug/21 ]

Author:

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

Message: SERVER-56845 Fail addShard if DWCF=w:1 and no CWWC is set
Branch: v5.0
https://github.com/mongodb/mongo/commit/e75ba7eac21752976e3393556da839d6088d5cea

Comment by Githook User [ 05/Aug/21 ]

Author:

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

Message: SERVER-56845 Wait for the config to reach to all nodes after adding new node in implicit_default_write_concern_add_shard.js
Branch: master
https://github.com/mongodb/mongo/commit/4e2523128f38b1964a3ea55669af1fc8f7b26b34

Comment by Githook User [ 22/Jul/21 ]

Author:

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

Message: SERVER-56845 do reconfig with retries in jstests/sharding/implicit_default_write_concern_add_shard.js
Branch: master
https://github.com/mongodb/mongo/commit/2ae5099c2537512ff020621d2d2ac592b187be9c

Comment by Githook User [ 13/Jul/21 ]

Author:

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

Message: SERVER-56845 Fail addShard if DWCF=w:1 and no CWWC is set
Branch: master
https://github.com/mongodb/mongo/commit/3d0ecf68ada8e377c3c0c8c73111d04661265c58

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