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

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

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.0-rc2, 4.7.0
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • v4.4
    • Execution Team 2020-04-20

      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.

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

              Created:
              Updated:
              Resolved: