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

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Won't Fix
    • None
    • None
    • Replication, Storage
    • 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

              backlog-server-repl Backlog - Replication Team
              milkie@mongodb.com Eric Milkie
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: