
OPERATIONAL DEFECT DATABASE
...


...

SERVER-52778 added a scoped object to mark all codepaths that should be allowed to create a collection on shards. If the scoped object is not instantiated, when the shard server op observer reacts to a collection creation it throws an exception that is handled. Since the shard server op observer is initialized merely on the base that a mongod has been spawned with the --shardsvr option, it throws the exception even when a mongod has not yet been promoted to shard. The FLE2 cleanup and compact operations are creating/renaming collections but are not instantiating the scoped object (example). This ticket is to assess whether we want to support this corner case.
pierlauro.sciarelli commented on Fri, 7 Nov 2025 23:36:43 +0000: Repurposed the ticket title/description because the scope of the bug is much more narrow than originally expected.
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.