[SERVER-67734] topology_changes_bump_topology_time.js wrongly repeats removeShard command Created: 01/Jul/22  Updated: 29/Oct/23  Resolved: 07/Jul/22

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

Type: Bug Priority: Major - P3
Reporter: Marcos José Grillo Ramirez Assignee: Enrico Golfieri
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Sharding EMEA 2022-07-11
Participants:
Linked BF Score: 53

 Description   

topology_changes_bump_topology_time.js repeats the removeShard command twice and expects the command to succeed, however, it should wait for the drain mode to finish, like convert_to_and_from_sharded.js with an extra added check, if the config server steps down, then removeShard could fail with ShardNotFound because the previous invocation managed to successfully remove the shard.



 Comments   
Comment by Githook User [ 07/Jul/22 ]

Author:

{'name': 'Enrico Golfieri', 'email': 'enrico.golfieri@mongodb.com', 'username': 'enricogolfieri'}

Message: SERVER-67734 topology_changes_bump_topology_time.js wrongly repeats removeShard command
Branch: master
https://github.com/mongodb/mongo/commit/23dbe25fc4cc580990ae5df353f063c89f1ac9ba

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