-
Type: Bug
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
Fully Compatible
-
ALL
-
v4.4
-
Sharding 2020-07-27, Sharding 2020-08-10, Sharding 2020-08-24
-
14
The call to Balancer::initiateBalancer() is made fromĀ
ReplicationCoordinatorExternalStateImpl::onTransitionToPrimary() however, some paths require majority write concern which cannot be satisfied until the stepup has completed. initiateBalancer should be called asynchronously to prevent deadlock.