-
Type: Task
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
CAR Team 2024-07-08, CAR Team 2024-07-22, CAR Team 2024-08-05
SERVER-90893 is changing the list databases command to be consistent with a storage snapshot. SERVER-82221 similarly made the changes to list collections. Both commands now have an associated storage snapshot, and they consider the collections marked pending commit. If the storage snapshot says that the transaction related to collection creation has been committed, these commands consider the collections for the list. Note: Collection pending drops are not taken into account.
The collection catalog offers ways to lookup these lists, considering or ignoring the storage snapshot. There are places in the code where we directly access catalog routines that do not consider a storage snapshot. We should audit these cases in case they also need a storage snapshot level consistency for correctness.
- is related to
-
SERVER-82221 listCollections and listIndexes should include commit-pending namespaces
- Closed
-
SERVER-90893 listDatabases inconsistent with concurrent DDL operations
- Closed