-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Sharding
-
None
-
ALL
-
Sharding 2017-01-02
It looks like the initial reloading of the shard registry is done in two places:
1) ShardRegistry::startup()
https://github.com/mongodb/mongo/commit/f32f51272b44f895875ab36fc0ae1553d11f1cc2#diff-999be7e0d323ff2ea936dec580153fc5R176
2) reloadShardRegistryUntilSuccess()
https://github.com/mongodb/mongo/blob/eea8acf410705f8c25018babdcf4e7861eb7128e/src/mongo/s/sharding_initialization.cpp#L197-L224
We may want to have it just done in one place.
- related to
-
SERVER-27633 Rename reloadShardRegistryUntilSuccess in sharding_initialization.h/cpp because it doesn't reload anything anymore
-
- Closed
-