[SERVER-29016] Config primary may hang in shutdown waiting for Balancer Created: 28/Apr/17 Updated: 30/Oct/23 Resolved: 28/Apr/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Sharding |
| Affects Version/s: | None |
| Fix Version/s: | 3.4.5, 3.5.7 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Misha Tyulenev | Assignee: | Misha Tyulenev |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v3.4
|
||||||||
| Sprint: | Sharding 2017-05-08 | ||||||||
| Participants: | |||||||||
| Linked BF Score: | 0 | ||||||||
| Description |
|
This issue may happen if the 2) ShardRegistry::reload is already dispatched to the internalReload 3) As its a config shard the reload is using LocalShard to do exhaustiveFindOnConfig 4) the exhaustiveFindOnConfig calls for the ReplicationCoordinator::waitUntilOpTimeForRead 5) the last call never returns as the secondaries have stepped down already |
| Comments |
| Comment by Githook User [ 05/May/17 ] |
|
Author: {u'username': u'mikety', u'name': u'Misha Tyulenev', u'email': u'misha@mongodb.com'}Message: (cherry picked from commit 17807063eab1387023719e818c266dd31d16a0d0) |
| Comment by Githook User [ 28/Apr/17 ] |
|
Author: {u'username': u'mikety', u'name': u'Misha Tyulenev', u'email': u'misha@mongodb.com'}Message: |