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

Substitute checkpoint mutex in WT KV Engine with smart waiting

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Storage Execution

    Description

      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.

      Attachments

        Activity

          People

            backlog-server-execution Backlog - Storage Execution Team
            jordi.olivares-provencio@mongodb.com Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated: