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

Improve serverless lock/access blocker acquire/release semantics

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Fully Compatible
    • Server Serverless 2023-04-03

      In this ticket we aim to improve the acquire/release semantics of the serverless locks and the tenant access blockers. There are two main issues to address :

       

      The fixes :

      • Remove `if (onPrimary)` conditions.
      • Move `rollback` handler as close to acquire serverless lock and mtab (and decouple the handlers).
      • Review all places we use `acquireLock` to ensure correct behavior.

            Assignee:
            didier.nadeau@mongodb.com Didier Nadeau
            Reporter:
            didier.nadeau@mongodb.com Didier Nadeau
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: