-
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.