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

indexbg_shutdown.js interrupts index build on secondary prematurely

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.3.1
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2019-07-29
    • 0

      The JS test indexbg_shutdown.js obtains the opID from the db.currentOp() result in order to attempt to (unsuccessfully) abort the index build. Since the IndexBuildsCoordinator updates the db.currentOp() output before it disables interruptions on a secondary node, this creates a window during which it may be possible for the test to interrupt the index build prematurely.

            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: