Compare listCollections by chunks in the catalog consistency validator

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 8.1.0-rc0
    • Affects Version/s: 8.1.0-rc0
    • Component/s: Catalog
    • None
    • Catalog and Routing
    • Fully Compatible
    • ALL
    • CAR Team 2025-01-20
    • 0
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      The catalog operations consistency validator (SERVER-90768) maps the result of $listCatalog into the expected result of listCollections and then compares it with the actual result of listCollections.

      Some tests intentionally create very large collection definitions in order to test that listCollections correctly handles such large results. However, the catalog operations consistency validator is currently comparing the output of listCollections all at once, which causes it to fail due to running into the 16MB BSON size limit.

      The comparison should be done by chunks (e.g. element by element) to avoid running into the BSON size limit.

            Assignee:
            Joan Bruguera Micó
            Reporter:
            Joan Bruguera Micó
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: