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

Find by UUID must not return NamespaceNotFound without taking any database lock

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.6
    • 4.0.2, 4.1.3
    • Storage
    • None
    • Fully Compatible
    • ALL
    • Storage NYC 2018-11-05, Storage NYC 2018-11-19
    • 0

    Description

      A find by UUID can return NamespaceNotFound without taking any database lock. This allows a reader to see intermediate state from an operation that has the database locked in X mode and is performing catalog operations that may be rolled back. This is problematic for the rollbackViaRefetch algorithm, where a NamespaceNotFound error is treated as a promise that the collection will be dropped in a future oplog entry. This can lead to inconsistent data between replica set members.

      Attachments

        Activity

          People

            milkie@mongodb.com Eric Milkie
            tess.avitabile@mongodb.com Tess Avitabile (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: