
OPERATIONAL DEFECT DATABASE
...


...

When a shard gets added to a cluster, an unnecessary balancer configuration refresh is performed before returning to the user, crashing the process if the configuration is not available yet. Right after starting up a mongod process, it is totally possible for the balancer configuration not to be available because the grid is (initializing it) without synchronizing in any way with addShard commands. That code snippet can be safely removed consider the auto-splitter has been removed in v6.0: the refresh was originally added under SERVER-31586 for making sure the auto-splitter could determine whether it should run.
MongoDB Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.