Improve the code that clears the checkpoint flags

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Checkpoints
    • None

      We clear the checkpoint flags when opening an internal session:

         /* Internal sessions created from checkpoint sessions are not actually checkpoint sessions. */
          F_CLR(session, WT_SESSION_CHECKPOINT);
          F_CLR(session, WT_SESSION_CHECKPOINT_WORKER);
      

      Can we add comments why this is needed? Can we do it better instead of doing it in __wt_open_internal_session?

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Chenhao Qu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: