iotdb
iotdb copied to clipboard
about : error 502: Database is read-only
Describe the bug 当我的服务器磁盘空间满了后,会自动的修改为read-only,然后在清除磁盘空间后手动重启才能修改 read-only状态。 请问可不可以通过设置,让我在下一次遇到磁盘空间不足的情况下,不让iotdb改变为 read-only的状态,仅仅是抛出异常
it is dangerous that wring any data on a full-disk... It is because you never know which part of data is written successfully.
But we are implementing a new feature: allow user reset the status from read-only to writable, rather than restart the server. Then, the process is: the disk is full -> IoTDB is set to read-only -> DBA clean the disc space -> DBA reset the status to writable.