Race on shutdown in indexbg_shutdown.js

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 4.4.0-rc0, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • v4.4
    • Execution Team 2020-03-23
    • 21
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            Louis Williams
            Reporter:
            Louis Williams
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: