Structsยง
- Region
Flush Ticker - RegionFlushTicker is used to trigger region flush trigger periodically.
- Region
Flush Trigger RegionFlushTriggeris used to ensure that the estimated WAL replay size stays below a certain threshold by triggering a region flush when the estimated WAL replay size exceeds that threshold. This helps improve datanode startup speed and reduce the overall startup time.
Enumsยง
Constantsยง
- RECENT_
DURATION ๐ - The duration of the recent period.
Functionsยง
- filter_
regions_ ๐below_ topic_ pruned_ entry_ id - Filters regions whose prunable entry id is behind the topic pruned entry id.
- filter_
regions_ ๐by_ replay_ size - Filter regions based on the estimated replay size.
- filter_
regions_ ๐for_ periodic_ checkpoint - Filters regions that need periodic checkpoint persistence.
- group_
regions_ ๐by_ leader - Group regions by leader.
- is_
recent ๐ - Check if the timestamp is recent.
- mark_
checkpoint_ ๐persisted - Marks checkpoint persistence timestamps for regions.
- merge_
region_ ๐ids - Merges two region id lists and removes duplicates.
- retain_
checkpoint_ ๐persist_ records - Retains checkpoint persistence records for active regions.
- should_
persist_ ๐region_ checkpoint - Determines whether a region checkpoint should be persisted based on current and persisted state.
Type Aliasesยง
- Region
Flush ๐Ticker Ref