[SERVER-58917] Wait until donors/recipients are aware that coordinator has persisted decision before expecting successful collMod, createIndexes, and dropIndexes in resharding_prohibited_commands.js Created: 28/Jul/21  Updated: 29/Oct/23  Resolved: 30/Jul/21

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

Type: Bug Priority: Major - P3
Reporter: Janna Golden Assignee: Janna Golden
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Related
related to SERVER-59694 Resharding Prohibited Commands Incorr... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v5.0
Sprint: Sharding 2021-08-09
Participants:
Linked BF Score: 169

 Description   

The test checks that the coordinator has persisted that it is in either "committing" or "aborting" state before running collMod, createIndexes, and dropIndexes and asserting that these commands succeed. It should instead wait until donors/recipients are aware that the coordinator has persisted that it's in "committing"/"aborting" because we check whether collMod, createIndexes, and dropIndexes can succeed based on donors/recipients knowledge of the coordinator state.



 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/Aug/21 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-58669 Allow collMod, createIndexes, and dropIndexes once resharding coordinator has made a decision

(cherry picked from commit a1e57d2985b672c898431b7787e53c547bbd2753)

SERVER-58917 Wait until donors/recipients are aware that coordinator has persisted decision before expecting successful collMod, createIndexes, and dropIndexes in resharding_prohibited_commands.js

(cherry picked from commit 8179692b362d8237f201719946eb46bac6a5e961)
Branch: v5.0
https://github.com/mongodb/mongo/commit/7758ae1a0a21c662f028a687ff6b25506a52c33c

Comment by Janna Golden [ 30/Jul/21 ]

Author:

{'name': 'jannaerin', 'email': 'golden.janna@gmail.com', 'username': 'jannaerin'}

Message: SERVER-558917 Wait until donors/recipients are aware that coordinator has persisted decision before expecting successful collMod, createIndexes, and dropIndexes in resharding_prohibited_commands.js
Branch: master
https://github.com/mongodb/mongo/commit/8179692b362d8237f201719946eb46bac6a5e961

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