Review acquisition order of intent in global lock

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Catalog and Routing
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      After SERVER-134070 we now release and reacquire intents when locks are yielded. On global lock construction the order of acquisition is Flow control -> multi doc txn barrier -> intent -> global lock. When we yield and the reacquire the order is intent -> flow control -> multi doc txn barrier -> global lock

      Changing the order of yield acquisition is difficult since it is done in the locker, which does not know about intents. The current order should be safe but if we want to be consistent we should consider changing the order of initial acquisition to match

            Assignee:
            Unassigned
            Reporter:
            Sean Zimmerman
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: