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

dassert in waitForWriteConcern fails when w:majority adds j:true with journaling off

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.1.7
    • Affects Version/s: None
    • Component/s: Replication
    • Labels:
      None
    • Fully Compatible
    • ALL
    • RPL 7 08/10/15

      Once users upgrade to the new election protocol we will start automatically adding j:true to any w:majority writes. This could trigger a dassert on debug builds if journaling is off because we will consider the write concern with j:true to not be valid since journaling is disabled.
      In addition, it may cause errors to be returned to the client.

      I think to fix this, we should not append j:true to w:majority writes if journaling is disabled.

            Assignee:
            milkie@mongodb.com Eric Milkie
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: