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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.7
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • 0

    Description

      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.

      Attachments

        Activity

          People

            james.wahlin@mongodb.com James Wahlin
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: