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

Committed Snapshot Meaning Incorrect

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Critical - P2 Critical - P2
    • 3.3.4
    • Affects Version/s: None
    • Component/s: Replication
    • None
    • Fully Compatible
    • ALL
    • v3.2
    • Repl 11 (03/11/16), Repl 12 (04/01/16)
    • 0

      Currently with the changes for the SERVER-22276 (and SERVER-22495) the committed snapshot is not correctly being updated based on the replica set config and journal write concern flag.

      Rules to apply to correct the problem:

      The meaning of the snapshot depends on the replica set config (“writeConcernMajorityJournalDefault”) which indicates if it is tied to the durable or applied optime.

      Notable Exceptions (when both aren't true or false)

      1. Applied Snapshot OpTime, with J:True
        • Wait for snapshot for writeOpTime (Applied)
        • Wait for replication of durableOpTime >= writeOpTime (new code)
      2. Durable Snapshot OpTime, with J:False
        • Do not wait for snapshot, and you cannot read your own write
        • Wait for replication of majority optime (applied = normal)

            Assignee:
            scotthernandez Scott Hernandez (Inactive)
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: