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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 3.1.7
    • None
    • Replication
    • None
    • Fully Compatible
    • ALL
    • RPL 7 08/10/15

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: