-
Type: Improvement
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: None
-
None
-
Catalog and Routing
-
Fully Compatible
-
CAR Team 2024-09-30
-
200
In SERVER-94941 we discovered that the tenant migrations code relies on listCollections returning things in a specific order.
However, the documentation for the command doesn't specify any ordering requirements and could change at any time. Ideally we should test against this by randomly shuffling the results of listCollection on every call.
We can use the config fuzzer for this in order to randomly shuffle things around.
This also applies to listDatabases and listIndexes.
- is related to
-
SERVER-94948 initial_sync_test_fixture_test.js relies on implicit listCollection ordering
- Backlog
-
SERVER-94941 Tenant migrations rely on an implicit listCollections ordering for cloning
- Closed