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

voting inMemory nodes should refuse to join replica sets that have writeConcernMajorityJournalDefault set to true

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major - P3
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: Backlog
    • Component/s: Replication, Storage
    • Labels:
    • Operating System:
      ALL

      Description

      As per the docs, you must set writeConcernMajorityJournalDefault to false if you are running voting, but non-journaling, nodes in your replica set:
      https://docs.mongodb.com/manual/reference/replica-configuration/#rsconf.writeConcernMajorityJournalDefault
      If you do not do this, the effect will be that your majority writes may hang if a majority of nodes includes a non-journaling node.
      A worse effect is that if you also use --enableMajorityReadConcern, the commit level will never advance, and so the majority snapshot never advances. This can eventually fill up cache memory with write history.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                6 Start watching this issue

                Dates

                • Created:
                  Updated: