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

Create a checkpoint struct dedicated to the checkpoint server thread

    • Type: Icon: Task Task
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Checkpoints
    • None
    • Storage Engines
    • 2
    • StorEng - 2024-12-24

      The idea is to move the following fields in a dedicated struct (note that most_recent should not be moved):

          WT_SESSION_IMPL *session;       /* Checkpoint thread session */
          wt_thread_t tid;                /* Checkpoint thread */
          bool tid_set;                   /* Checkpoint thread set */
          WT_CONDVAR *cond;               /* Checkpoint wait mutex */
      #define WT_CKPT_LOGSIZE(conn) (__wt_atomic_loadi64(&(conn)->ckpt.logsize) != 0)
          wt_shared wt_off_t logsize; /* Checkpoint log size period */
          bool signalled;             /* Checkpoint signalled */
      

      The new struct can be named WT_CKPT_SERVER.

            Assignee:
            etienne.petrel@mongodb.com Etienne Petrel
            Reporter:
            etienne.petrel@mongodb.com Etienne Petrel
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: