[SERVER-56800] Fail addShard if CWWC disagrees with existing CWWC on cluster Created: 10/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-14677 Investigate changes in SERVER-56800: ... Closed
Backwards Compatibility: Fully Compatible
Backport Requested:
v5.0
Sprint: Repl 2021-07-26
Participants:

 Description   

The node might have to make a remote call to the config server to fetch the cluster's existing CWWC for this.

Another option is to add a warning on addShard commands for replica sets that have a set CWWC no matter what the cluster's CWWC is. This is less visible to users, but requires fewer commands between nodes.



 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-56800 Fail addShard if CWWC disagrees with existing CWWC on cluster"

This reverts commit f19b9b5fc2a0bc4eed0939542f18357f0b06555d.
Branch: v5.0
https://github.com/mongodb/mongo/commit/17be535d5fc870764626486bfa4de26376d5c00b

Comment by Githook User [ 10/Aug/21 ]

Author:

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

Message: SERVER-56800 Fail addShard if CWWC disagrees with existing CWWC on cluster
Branch: v5.0
https://github.com/mongodb/mongo/commit/f19b9b5fc2a0bc4eed0939542f18357f0b06555d

Comment by Githook User [ 30/Jul/21 ]

Author:

{'name': 'Vishnu Kaushik', 'email': 'vishnu.kaushik@mongodb.com', 'username': 'kauboy26'}

Message: SERVER-56800 prevent cwwc_conflict_add_shard.js from running on last-lts multiversion
Branch: master
https://github.com/mongodb/mongo/commit/230fd8486203dfcb79d41837223c394d1c5cd92a

Comment by Githook User [ 22/Jul/21 ]

Author:

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

Message: SERVER-56800 Fail addShard if CWWC disagrees with existing CWWC on cluster
Branch: master
https://github.com/mongodb/mongo/commit/e817e6b1b9dd1a49a63a6d469eb3f890ff3ba512

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