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

Compare properly the 'background' field returned by listIndexes and listCatalog

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • 200
    • 2

      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 returning a boolean (here and here), whereas the $listCatalog returns the genuine value.

      Since this was causing errors in our internal tests, we temporarily ignored the check of this specific field.

      This ticket aims to enable the check of 'indexes.background' taking into account that it's not returned within the same format between listIndexes and $listCatalog.

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

              Created:
              Updated: