Investigate whether WT_CKPT_CONNECTION fields should be atomic

XMLWordPrintableJSON

    • Type: Technical Debt
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Checkpoints
    • None
    • Storage Engines - Persistence
    • 922.7
    • SE Persistence backlog
    • None

      The following two fields in WT_CKPT_CONNECTION are currently marked as wt_shared and accessed via atomics, but arguably, they do not need to be:

      • reconcile_time_ticks
      • sync_time_ticks

      They are currently accessed only from the main checkpoint thread, but if we switch them to regular accesses, TSan complains because of inconsistent locking between accesses. This is most likely a false positive, but we should confirm.

      At the same time, we might decide to keep them atomic, such as if we decide to allow the checkpoint to process different btrees in parallel.

            Assignee:
            [DO NOT USE] Backlog - Storage Engines Team
            Reporter:
            Peter Macko
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: