mirror of
https://github.com/GreptimeTeam/greptimedb.git
synced 2026-06-02 13:20:40 +00:00
refactor: clarify region flush reasons (#8146)
* refactor: clarify region flush reasons Signed-off-by: WenyXu <wenymedia@gmail.com> * chore: apply suggestions from CR Signed-off-by: WenyXu <wenymedia@gmail.com> --------- Signed-off-by: WenyXu <wenymedia@gmail.com>
This commit is contained in:
@@ -1414,6 +1414,10 @@ pub enum RegionFlushReason {
|
||||
Repartition,
|
||||
/// Flush triggered by remote WAL pruning.
|
||||
RemoteWalPrune,
|
||||
/// Flush region before closing region.
|
||||
Closing,
|
||||
/// Flush region before downgrading region.
|
||||
Downgrading,
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, Default)]
|
||||
|
||||
Reference in New Issue
Block a user