Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-15166

Investigate changes in SERVER-63531: commitQuorum error message incorrectly says that only voting nodes are eligible

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 5.0.0, 5.3.0, 6.0.0
    • 6.0.0-rc0, 5.0.8, 5.3.2
    • None
    • None
    • 2
    • ServerDocs2022: Apr5 - Apr12
    • Hide
      The following changes have been made:
      * Error messages have been updated to indicate that non-voting nodes may be included in an index build commitQuourm. Our documentation incorrectly states that commitQuorum only includes "data-bearing voting replica set members". This should be updated to say "data-bearing replica set members"
      * Nodes with buildIndexes:false can never be included in a commitQuorum. Previously, we incorrectly allowed non-voting buildIndexes:false nodes to be part of a commitQuorum, but these nodes should never be included, regardless of voting status.
      Show
      The following changes have been made: * Error messages have been updated to indicate that non-voting nodes may be included in an index build commitQuourm. Our documentation incorrectly states that commitQuorum only includes "data-bearing voting replica set members". This should be updated to say "data-bearing replica set members" * Nodes with buildIndexes:false can never be included in a commitQuorum. Previously, we incorrectly allowed non-voting buildIndexes:false nodes to be part of a commitQuorum, but these nodes should never be included, regardless of voting status.

    Description

      Original Downstream Change Summary

      The following changes have been made:

      • Error messages have been updated to indicate that non-voting nodes may be included in an index build commitQuourm. Our documentation incorrectly states that commitQuorum only includes "data-bearing voting replica set members". This should be updated to say "data-bearing replica set members"
      • Nodes with buildIndexes:false can never be included in a commitQuorum. Previously, we incorrectly allowed non-voting buildIndexes:false nodes to be part of a commitQuorum, but these nodes should never be included, regardless of voting status.

        Description of Linked Ticket

        The commitQuorum option for index builds does not allow non-voting nodes to participate. With the default commitQuorum of "votingMembers", a lagged non-voting secondary, like an analytics node, can fall behind. Other voting nodes will commit, but when this secondary receives a commitIndexBuild oplog entry, it stalls until the index build completes.

      There is currently no way to use commitQuorum to include the non-voting node to prevent this from happening.

      commitQuorum does allow you to include non-voting nodes, however the error message we report "Not enough data-bearing voting nodes to satisfy commit quorum" is incorrect. We should also update the documentation to reflect this.

      Attachments

        Issue Links

          Activity

            People

              ashley.brown@mongodb.com Ashley Brown
              backlog-server-pm Backlog - Core Eng Program Management Team
              Jess Mokrzecki Jess Mokrzecki
              Louis Williams
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:
                1 year, 8 weeks ago