+1. It's not necessary to give 2 different syntax but with same meaning. Just 
define the most suitable one.

在 2022/5/23 11:22,“Haonan Hou”<[email protected]> 写入:

    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://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fissues.apache.org%2Fjira%2Fbrowse%2FIOTDB-3099&amp;data=05%7C01%7C%7Cad1f61d413164120347708da3c6b86e5%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637888729789442308%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=6X9ZDSKSOLA0HCkAr5v9uNiK1KkI71SOrzXLW%2BH4GBs%3D&amp;reserved=0
    > 
    > —————————————————
    > Jialin Qiao
    > Apache IoTDB PMC


Reply via email to