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

readConcern snapshot should return an error for metadata changes

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7.4
    • Affects Version/s: None
    • Component/s: Storage
    • Labels:
      None
    • Fully Compatible
    • Storage NYC 2018-03-26, Storage NYC 2018-03-12

      readConcern level majority will wait (block) when it detects it is about to acquire a Collection lock but the readConcern majority snapshot timestamp is less than the minimumVisibleSnapshot timestamp.
      readConcern level snapshot cannot block in this situation because unlike readConcern majority, it cannot change its read timestamp. Therefore, it must return an error in this situation.

      The error to return should be SnapshotUnavailable.

            Assignee:
            james.wahlin@mongodb.com James Wahlin
            Reporter:
            milkie@mongodb.com Eric Milkie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: