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

Do not assume FCV stability while filtering orphan documents in update/delete ops

    XMLWordPrintable

Details

    • Task
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 5.3.0
    • Sharding
    • None
    • Fully Compatible
    • Sharding EMEA 2021-12-27
    • 152

    Description

      This issue was introduced in  SERVER-59832.

      The changes introduced in that commit assume that we have FCV stability during the execution of an update operation. However that's not true:  it could totally happen that we decide at this point that we are going to filter writes over orphan documents, but then when we re-evaluate the value of the feature flag in the getOwnershipFilter function we see that the feature flag isn't enabled anymore and hit the invariant.

      Attachments

        Activity

          People

            sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
            sergi.mateo-bellido@mongodb.com Sergi Mateo Bellido
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: