[SERVER-67001] Make balancer wait interruptably for migration-related commands sent to shards Created: 03/Jun/22  Updated: 29/Oct/23  Resolved: 07/Jun/22

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: 6.0.0-rc8
Fix Version/s: 6.0.0-rc9, 6.1.0-rc0

Type: Bug Priority: Major - P3
Reporter: Jordi Serra Torrens Assignee: Pierlauro Sciarelli
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-66720 Interrupt migration-related commands ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0
Sprint: Sharding EMEA 2022-06-13
Participants:
Linked BF Score: 54

 Description   

SERVER-66720 made the balancer give up on waiting for some migration-related commands on interruptions. However, some of those waits were missed – in particular, these two related to the auto balancer itself: 1 & 2.

Those waits should be interruptable too. Waiting uninterruptably causes deadlocks on stepup.



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

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-67001 Make balancer wait interruptably for migration-related commands sent to shards
Branch: v6.0
https://github.com/mongodb/mongo/commit/b0c54a72ba3f81e63bb591ef8856cd5a90c25a15

Comment by Githook User [ 07/Jun/22 ]

Author:

{'name': 'Pierlauro Sciarelli', 'email': 'pierlauro.sciarelli@mongodb.com', 'username': 'pierlauro'}

Message: SERVER-67001 Make balancer wait interruptably for migration-related commands sent to shards
Branch: master
https://github.com/mongodb/mongo/commit/5ea4afd970592bbe651a8aa4092dc9be7298def3

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