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

readConcern snapshot should return an error for metadata changes

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.7.4
    • None
    • Storage
    • None
    • Fully Compatible
    • Storage NYC 2018-03-26, Storage NYC 2018-03-12

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: