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

Race on shutdown in indexbg_shutdown.js

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.4.0-rc0, 4.7.0
    • None
    • None
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Execution Team 2020-03-23
    • 21

    Description

      This is a race condition specific to this test. Outside of this test, we shut down replication before killing index builds.

      The race condition is as follows:

      • Kill the index build by aborting without cleanup
      • Process a commitIndexBuild oplog entry, which attempts to restart the index build. The index is ready:false on disk, which leads to a "Cannot build two identical indexes" error message by the applier thread.

      This test may be able to be rewritten without the "leaveIndexBuildUnfinishedForShutdown"  failpiont that violates shutdown ordering.

      Attachments

        Activity

          People

            louis.williams@mongodb.com Louis Williams
            louis.williams@mongodb.com Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: