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

Compare listCollections by chunks in the catalog consistency validator

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

      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-mico@mongodb.com Joan Bruguera Micó
            Reporter:
            joan.bruguera-mico@mongodb.com Joan Bruguera Micó
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: