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

Index builder should vote for ready to commit after first drain phase.

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.4.0-rc2, 4.7.0
    • Storage
    • None
    • Fully Compatible
    • v4.4
    • Execution Team 2020-04-20

    Description

      Currently, index builder votes for ready to commit after second drain phase. Now that first drain phase and second phase got split into 2 different methods by SERVER-39458. And, SERVER-46560 has unified the code path for single phase & 2 phase index builds, it's good to move _signalPrimaryForCommitReadiness(voting logic) method after _insertKeysFromSideTablesWithoutBlockingWrites(first drain phase).
      It should also make the behavior consistent with the simultaneous index build design doc.

      Attachments

        Activity

          People

            suganthi.mani@mongodb.com Suganthi Mani
            suganthi.mani@mongodb.com Suganthi Mani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: