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

Investigate whether the 'preCondition' can be removed from 'applyOps'

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Won't Do
    • Icon: Major - P3 Major - P3
    • None
    • None
    • Storage
    • None
    • Storage Execution

    Description

      To simplify the removal of the global exclusive lock in applyOps, we should look into today's use cases of the 'preCondition' and if it would be possible to remove it.

      The 'preCondition' accepts a list of preConditions across multiple databases and collections. This would require us to potentially hold multiple database and collection locks throughout the applyOps command to ensure that the preCondition holds throughout the entire operation.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            gregory.wlodarek@mongodb.com Gregory Wlodarek
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: