Open
Description
Currently, the meta Instruction has both FlushRegions
and FlushRegion
.
greptimedb/src/common/meta/src/instruction.rs
Lines 203 to 223 in d6e9820
They are confusing.
FlushRegions works asynchronously and serves as a non-mandatory hint, while FlushRegion enforces a synchronous flush operation. We will later rename FlushRegions to FlushRegionsHint or FlushRegionsSuggestion to make its purpose clearer.
Originally posted by @WenyXu in #5995 (comment)
If possible, we can also refactor the two instructions and merge them into a single instruction.