SERVER-137306Backlog

Expose cluster topology to extensions

Search needs to know whether the cluster that mongot serves is sharded. If mongot's syncSource.router setting doesn't match the cluster's actual topology, mongot can silently delete existing search indexes or create duplicate catalog collections in {{__mdb_internal_search}}. For example, this happens when a replica set is converted to a sharded cluster but mongot's config isn't updated accordingly. CLOUDP-404954 adds a catalog access guard that blocks catalog access when the configuration and to

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification
dino-extensions-apidino-tech-debt