Maybe ALL and CLUSTER are keywords afterwards. We should use FLUSH `all` and FLUSH `cluster` instead.
在 2022/5/23 11:16,“Xiangdong Huang”<[email protected]> 写入: how about if there is a sg called "all" or "cluster" ? ----------------------------------- Xiangdong Huang School of Software, Tsinghua University 黄向东 清华大学 软件学院 Jialin Qiao <[email protected]> 于2022年5月23日周一 11:07写道: > 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&data=05%7C01%7C%7C863b74c336cc4f7f6f7208da3c6aaf01%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C637888726159267012%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=z%2BFtmVn00k4thb4XaxP%2F54TXBq%2B0QuznR0GS7YuqN0g%3D&reserved=0 > > ————————————————— > Jialin Qiao > Apache IoTDB PMC >
