Add config fuzzer test that shuffles the order of listCollections, listDatabases, and listIndexes

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • Fully Compatible
    • CAR Team 2024-09-30
    • 200
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

              Assignee:
              Jordi Olivares Provencio
              Reporter:
              Jordi Olivares Provencio
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: