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

POC - Take change collection lock at AutoGetCollection

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

      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@mongodb.com Rishab Joshi (Inactive)
            Reporter:
            rishab.joshi@mongodb.com Rishab Joshi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: