[DISCUSS] Merge the cluster branch code to master branch

2020-10-29 Thread Houliang Qi
Hi all, As we discussed before[1], it is better to merge the cluster branch with the master branch. We have also done some tests, including the following two aspects: The performance of the server on the cluster branch and the performance of the master branch are tested; Distributed functional

Add raft log persist mechanism and use persist log to catch up

2020-10-29 Thread Houliang Qi
Hi all, The current version of CommittedLogManager only holds a small number of logs, as it only uses the persistent storage (namely the StableEntryManager) as a measure of recovery, not to extend its storage ability. The result is that when one follower is down, its difference from the leade

About the timezone in IoTDB

2020-10-29 Thread Xiangwei Wei
In the previous design, the timezone was set in IoTDB server configuration. When one client gets the connection from the server,* it will keep the same timezone as server.* However, since IoTDB is becoming more and more international. Some user may encounter problems, as their clients are in diffe

Re: [DISCUSS] Merge the cluster branch code to master branch

2020-10-29 Thread Tian Jiang
Sure, I guess we will start the process soon enough. Best, Tian Jiang On 10/29/2020 17:23,Houliang Qi wrote: Hi all, As we discussed before[1], it is better to merge the cluster branch with the master branch. We have also done some tests, including the following two aspects: The performance

Please take a look at SLIMIT and SOFFSET

2020-10-29 Thread Tian Jiang
Greetings, Recently, when I was using queries with SLIMIT and SOFFSET clauses, I found something was not so graceful, even wrong maybe. ``` IoTDB> select count(*) from root.group_0.d_0 slimit 10 soffset 10 Msg: 500: toIndex = 20 IoTDB> select count(*) from root.group_0 slimit 10 soffset 10

Re: Please take a look at SLIMIT and SOFFSET

2020-10-29 Thread Steve Su
Hi Tian, Thanks for reporting this. @Yuan Tian and I recently modified the code associated with SLIMIT and SOFFSET in PR#1367 and PR#1884. The issue you reported may have been caused by our code. I will take a look. Best, Steve -- -- ??: "dev" ;

Support `delete storage group '

2020-10-29 Thread ??????
Greetings, Currently, it seems that the user can delete all data and timeseries:  delete timeseries root.*; But this sql cann't delete all related storage groups. In addition, such an approach would be more time-consuming than simply deleting specified storage groups. So I believe it's bett