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

collStats should consider index visibility in relation to its snapshot

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • ALL
    • Execution Team 2020-11-02

      The collStats command includes information about in-progress index builds in its results. It compares the in-memory state from the IndexCatalog with the on-disk state using the DurableCatalog interface to see if an index is available for queries or it is still building.

      The current collStats implementation does not determine if an index is visible in the current snapshot before querying the on-disk state. A similar issue affecting $indexStats was discussed and subsequently addressed in SERVER-51133.

            Assignee:
            benety.goh@mongodb.com Benety Goh
            Reporter:
            benety.goh@mongodb.com Benety Goh
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: