Remove special casing for secondaries in plan_cache_index_create.js indexBuildIsRunning()

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.1.7
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • 0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      As of the commit for SERVER-34830, the createIndexes command will now report command name correctly in currentOp. With this change, the filter used by indexBuildIsRunning() to determine whether a secondary replica member is running an index build is no longer correct and can return a false negative.

      To fix this, we can remove the special casing for secondaries as SERVER-34830 allows for the same filter across both primary and secondary members.

            Assignee:
            James Wahlin
            Reporter:
            James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: