iotdb icon indicating copy to clipboard operation
iotdb copied to clipboard

about : error 502: Database is read-only

Open szz-9503 opened this issue 2 years ago • 1 comments

Describe the bug 当我的服务器磁盘空间满了后,会自动的修改为read-only,然后在清除磁盘空间后手动重启才能修改 read-only状态。 请问可不可以通过设置,让我在下一次遇到磁盘空间不足的情况下,不让iotdb改变为 read-only的状态,仅仅是抛出异常

szz-9503 avatar Aug 26 '22 09:08 szz-9503

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.

jixuan1989 avatar Aug 27 '22 01:08 jixuan1989