
OPERATIONAL DEFECT DATABASE
...

...
initializeGlobalShardingStateForMongoD has to be run on shardsvrs during initialization. Currently, this is triggered from the following places: 1) In initAndListen 2) In ShardServerOpObserver::onInserts when an insert of the shard identity document is observed. For FCBIS however, this does not work: On a new member that will undergo initial sync, point (1) will not find the shard identity document at all. Later, point (2) will not be triggered because FCBIS does not perform inserts like logical initial sync would. As a result, after FCBIS has completed, the shard is left with uninitialized sharding state.
xgen-internal-githook commented on Mon, 9 May 2022 15:43:04 +0000: Author: {'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'} Message: SERVER-64601 Using the onInitialDataAvailable hook to initialize sharding environment (cherry picked from commit bf1b133adecc94af8d932170dca6361484946499) Branch: v6.0 https://github.com/mongodb/mongo/commit/d66184cb6e4be8e7ce848d69f675b9bae01091f3 xgen-internal-githook commented on Fri, 6 May 2022 16:28:19 +0000: Author: {'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'} Message: SERVER-64601 Using the onInitialDataAvailable hook to initialize sharding environment Branch: master https://github.com/mongodb/mongo/commit/bf1b133adecc94af8d932170dca6361484946499 xgen-internal-githook commented on Fri, 6 May 2022 16:28:16 +0000: Author: {'name': 'Sergi Mateo Bellido', 'email': 'sergi.mateo-bellido@mongodb.com', 'username': 'smateo'} Message: SERVER-64601 Changing TODOs Branch: master https://github.com/10gen/mongo-enterprise-modules/commit/fa9af89c066766d024ecd238e17c44babf27a8b5
fcbis-sharding-bug.patch ./buildscripts/resmoke.py run --storageEngine=wiredTiger --storageEngineCacheSizeGB=.50 --suite=sharding jstests/sharding/fcbis-sharding.js --log=file Need to have built with enterprise support for FCBIS.
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.