Substitute checkpoint mutex in WT KV Engine with smart waiting

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Storage Execution
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The _checkpointMutex in wiredtiger_kv_engine.cpp is simply awaited to be locked when attempting to perform a checkpoint.

      In the case two threads attempt to checkpoint we would have two checkpointing actions performed one after the other. If possible we should instead replace it with something smarter that detects if someone is already checkpointing and wait and return when they finish so we don't perform another checkpoint afterwards.

              Assignee:
              [DO NOT USE] Backlog - Storage Execution Team
              Reporter:
              Jordi Olivares Provencio
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated: