Hi,

+1 for `FLUSH ALL` syntax.

`FLUSH` and `FLUSH sg` are the existing syntax of the current standalone 
version.
If we execute `FLUSH ALL` on standalone IoTDB, it can be equals to `Flush` 
command.
`flush cluster` sounds meaningless for standalone IoTDB.

Best,
Haonan Hou

> On May 23, 2022, at 11:07 AM, Jialin Qiao <[email protected]> wrote:
> 
> Hi,
> 
> Flush is a frequently used command in IoTDB, which flushes memtable into
> disk and closes all tsfiles.
> 
> In the new cluster, we need to redefine this function [1].
> 
> * flush: flushing current datanode
> 
> * flush all/cluster: flushing all datanodes
> 
> * flush sg: flush all DataRegions of a storage group
> 
> 
> What do you think?
> 
> [1] https://issues.apache.org/jira/browse/IOTDB-3099
> 
> —————————————————
> Jialin Qiao
> Apache IoTDB PMC

Reply via email to