-
Type:
Technical Debt
-
Resolution: Unresolved
-
Priority:
Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: None
-
StorEng - Defined Pipeline
-
3
The WT_BLOCK structure currently includes seven different boolean flags. More are likely to be added as we make additional changes to support tiered storage.
We should consider whether some or all of these should be implemented as flags instead. There can be multiple threads using a WT_BLOCK a the same time, so this would require some thought. But it appears that many of the flags are only set/cleared on single threaded paths, such as the verify-related flags (verify has exclusive access to a table).
The goal of this ticket is to decide if such refactoring is desirable, and if so to make the changes. The evaluation is likely to be the bulk of the work here.