Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-94978

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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Jordi Olivares Provencio
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: