[SERVER-60387] Ensure that moveChunk() command in auth_add_shard.js waits for range deletion task to avoid failures in test teardown. Created: 01/Oct/21  Updated: 29/Oct/23  Resolved: 18/Oct/21

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 5.2.0

Type: Bug Priority: Major - P3
Reporter: Paolo Polato Assignee: Paolo Polato
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 2021-10-04, Sharding EMEA 2021-10-18, Sharding EMEA 2021-11-01
Participants:
Linked BF Score: 24

 Description   

The teardown of auth_add_shard.js may fail due to the unexpected existence of a pending range deletion document.

Such state may be reached when:

  • the recipient is removed from the cluster, aborting any ongoing operation (including the scheduling of the pending range deletion on the donor).


 Comments   
Comment by Paolo Polato [ 18/Oct/21 ]

Follow-up ticket SERVER-60767 has been created to adress the scenario on the server side.

Comment by Githook User [ 18/Oct/21 ]

Author:

{'name': 'Paolo Polato', 'email': 'paolo.polato@mongodb.com', 'username': 'ppolato'}

Message: SERVER-60387 make moveChunk() waitForDelete in auth_add_shard.js
Branch: master
https://github.com/mongodb/mongo/commit/d2b702f5194f69b734a9a616ea2a588feee2f731

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