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

    • Type: Task
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.4.0-rc2, 4.7.0
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.4
    • Sprint:
      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

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

              Dates

              Created:
              Updated:
              Resolved: