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

Substitute checkpoint mutex in WT KV Engine with smart waiting

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

      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:
            backlog-server-execution [DO NOT USE] Backlog - Storage Execution Team
            Reporter:
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: