-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
Catalog and Routing
-
ALL
-
CAR Team 2024-02-05, CAR Team 2024-02-19, CAR Team 2024-03-04
-
1
establishConsistentCollections (that seems to establish consistent database) does not establish a consistent view of the database when a timestamp is provided. It uses the latest state of the collection catalog to determine which collections might exist and establishes a correct snapshot for them. However, collections that existed at the timestamp but has since been dropped would be missed.
We don't seem to use this with a timestamp so I suggest we remove the timestamp parameter to keep this simple.
If the desire is to establish a consistent database we'd need to traverse _nss in the historical catalogId tracker and filter on namespace and existence for a complete set of collections at the given time.