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

Only warn about readConcernMajority enabled in primary-secondary-arbiter configuration

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.6.17, 4.3.1, 4.2.3, 4.0.16
    • Component/s: None
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Backport Requested:
      v4.2, v4.0, v3.6
    • Sprint:
      Repl 2019-09-09
    • Case:

      Description

      Hello,

      The startup warning about "Read Concern Majority" is shown when the users have an arbiter, regardless of the number of nodes. If we check the documentation, it is only recommended when the replica set is PSA.

      "If you are using a deployment other than a 3-member PSA, you do not need to disable read concern majority."

      When the warning was created on SERVER-37557 it was decided to alert when an arbiter was present, regardless on the replica set configuration:

      "the risk exists in any set with an arbiter, since they allow you to accept writes when the majority commit point cannot move forward. We are going to recommend all sets with arbiters use enableMajorityReadConcern:"false"."

      So, the warning is not following the documentation, and this could be confusing to the MongoDB users.

      Regards,
      Miguel.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              xuerui.fa Xuerui Fa
              Reporter:
              miguel.nieto Miguel Angel Nieto
              Participants:
              Votes:
              0 Vote for this issue
              Watchers:
              18 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: