-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: 8.0.0-rc0
-
Component/s: None
-
None
-
Catalog and Routing
-
ALL
-
200
-
2
When performing some DDL operations like dropDatabase, dropCollection, etc. we try to send the drop to all shards and clear their local cached collection metadata. This serves as a "barrier" between previously and later created collections on the same namespace.
However, this is not done for the config server, which can later transition into an embedded config server that can also serve as a data shard. The shard will then have stale cached collection metadata.
There could be two approaches to solve this:
- Make DDL coordinators send the command to the config server as well to make sure cached metadata is cleared there
- Whenever a dedicated config server transitions to a data shard, refresh the local catalog to clear the stale metadata
- related to
-
SERVER-91949 Unify the code paths of drop for dropCollection and resharding
- Backlog