You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@iotdb.apache.org by "Jialin Qiao (Jira)" <ji...@apache.org> on 2021/08/13 07:07:00 UTC

[jira] [Created] (IOTDB-1565) Add sql: set system to readonly/writable

Jialin Qiao created IOTDB-1565:
----------------------------------

             Summary: Add sql: set system to readonly/writable
                 Key: IOTDB-1565
                 URL: https://issues.apache.org/jira/browse/IOTDB-1565
             Project: Apache IoTDB
          Issue Type: New Feature
            Reporter: Jialin Qiao


When upgrading IoTDB, we need to stop insertion and then run flush. These two steps are not very close.

 

It's better to use two sql to accomplish this:

 

set system to readonly

flush

 

So we need two sql: 

set system to readonly

set system to writable



--
This message was sent by Atlassian Jira
(v8.3.4#803005)