POC - Take change collection lock at AutoGetCollection

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Fully Compatible
    • 10
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      This POC was about introducing a way to lock the change collection before entering the timestamped unit of work.

       

      Essentially taking the change collection lock within the AutoGetChangeCollection().

       

      The POC work is here: https://spruce.mongodb.com/version/62895d357742ae5ac3399275/changes?sorts=STATUS%3AASC%3BBASE_STATUS%3ADESC

       

      Ultimately, it was decided to not go with this path as this solution is prone to deadlocks and is difficult to debug.

       

      An alternate suggestion has been proposed here: https://jira.mongodb.org/browse/SERVER-66715

            Assignee:
            Rishab Joshi (Inactive)
            Reporter:
            Rishab Joshi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: