Structsยง
- Region
Flush ๐Ticker - RegionFlushTicker is used to trigger region flush trigger periodically.
- Region
Flush Trigger RegionFlushTrigger
is 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ยง
- Event ๐
Event
represents various types of events that can be processed by the region flush ticker.
Constantsยง
- RECENT_
DURATION ๐ - The duration of the recent period.
- TICKER_
INTERVAL ๐ - The interval of the region flush ticker.
Functionsยง
- filter_
regions_ ๐by_ replay_ size - Filter regions based on the estimated replay size.
- group_
regions_ ๐by_ leader - Group regions by leader.
- is_
recent ๐ - Check if the timestamp is recent.
- should_
persist_ ๐region_ checkpoint - Determines whether a region checkpoint should be persisted based on current and persisted state.
Type Aliasesยง
- Region
Flush ๐Ticker Ref