[SERVER-73645] Unhandled exception on BalancerCommandsScheduler Created: 06/Feb/23  Updated: 29/Oct/23  Resolved: 06/Mar/23

Status: Closed
Project: Core Server
Component/s: Sharding
Affects Version/s: 6.0.4
Fix Version/s: 7.0.0-rc0, 6.0.6

Type: Bug Priority: Major - P3
Reporter: Silvia Surroca Assignee: Paolo Polato
Resolution: Fixed Votes: 0
Labels: sharding-wfbf-day
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Backports
Depends
Problem/Incident
is caused by SERVER-58908 Add mergeChunks configuration to conf... Closed
Assigned Teams:
Sharding EMEA
Backwards Compatibility: Fully Compatible
Operating System: ALL
Backport Requested:
v6.0
Sprint: Sharding EMEA 2023-03-06
Participants:
Linked BF Score: 25

 Description   

The BalancerCommandsScheduler thread is not handling exceptions on calls to ShardRegistry::getShard().

The call to ShardRegistry::getShard() method may throw an exception when it needs to wait for a refresh on ShardRegistry data.



 Comments   
Comment by Githook User [ 06/Apr/23 ]

Author:

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

Message: SERVER-73645 Capture exceptions when executing BalancerCommandSchedulerImpl::_submit()
Branch: v6.0
https://github.com/mongodb/mongo/commit/ee69814c534c32ee43f6c1dceb50d284728f9f1b

Comment by Githook User [ 03/Mar/23 ]

Author:

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

Message: SERVER-73645 Capture exceptions when executing BalancerCommandSchedulerImpl::_submit()
Branch: master
https://github.com/mongodb/mongo/commit/33003551952d9a19f82d354d8f3136378bc42a72

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