Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-12362

Reduce time spent holding locks when updating a record

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Engines
    • StorEng - Defined Pipeline

      There is one place where changes to a page serialize in WiredTiger. That is managed via the code in serial_inline.h.

      Updates can be installed without holding the lock at all - they use an atomic compare and swap operation. There is though code in the update path that acquires that lock - which is checking for obsolete content in an update list and trimming it off.

      We should look for mechanisms to reduce how often the page lock is taken, and how long it is held for.

            alexander.gorrod@mongodb.com Alexander Gorrod
            alexander.gorrod@mongodb.com Alexander Gorrod
            0 Vote for this issue
            8 Start watching this issue