-
Type:
Bug
-
Resolution: Fixed
-
Priority:
Major - P3
-
Affects Version/s: None
-
Component/s: Sharding
-
None
-
Fully Compatible
-
ALL
-
-
Sharding 2020-11-30
-
10
-
None
-
None
-
None
-
None
-
None
-
None
-
None
When initializing mongod process of shard cluster type, initialize properly its components so topology change messages do not arrive before all topology listeners have been properly added to the system. A solution is to swap first two instructions in https://github.com/mongodb/mongo/blob/7a6078c14ec31052e5109629a78c988ca417b793/src/mongo/db/s/sharding_initialization_mongod.cpp#L261