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

Add a new log message when a secondary node is skipping a two-phase index build

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.4.19, 5.0.15, 6.0.4, 6.3.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Storage Execution
    • Fully Compatible
    • v6.2, v6.0, v5.0, v4.4
    • Execution Team 2022-12-12

      There have been several occurrences in Atlas where one or more secondary nodes already have an index built that the primary does not have. We think this is due to interrupted rolling index builds. Creating the same index on the primary may result in the index build stalling indefinitely as the secondary nodes with the index will return early and skip voting for the index's commit quorum.

      The workaround is to adjust the commit quorum using the setIndexCommitQuorum command.

      There's no indication of when this happens, so it would be helpful if we can add a log message when a secondary node is skipping the index build to allow the user to take action or for Atlas to detect this automatically via log ingestion.

            Assignee:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Reporter:
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: