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

Fix comparision check between $listCatalog and listIndexes

    • Type: Icon: Bug Bug
    • 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
    • ALL
    • CAR Team 2024-12-09
    • 200

      We've recently introduced a new check that compares the output of $listCatlog with the output of listIndexes. 

      The check is done by directly comparing the two outputs. The problem is that both operations return the field indexes.background in a different format. The listIndexes command is repairing it and returning a boolean, whereas the $listCatalog is returning the genuine value.

      We need to take this into account during the comparison check.

            Assignee:
            silvia.surroca@mongodb.com Silvia Surroca
            Reporter:
            silvia.surroca@mongodb.com Silvia Surroca
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: