Bo Zhang created IOTDB-3016:
-------------------------------
Summary: Run flush when graceful stop IoTDB
Key: IOTDB-3016
URL: https://issues.apache.org/jira/browse/IOTDB-3016
Project: Apache IoTDB
Issue Type: Improvement
Components: Core/Others
Reporter: Bo Zhang
Fix For: master branch
When we test 1 IoTDB server who has many storagegroups, we found below case:
==========================================================
When we closed this IoTDB instance and then restarted it, the IoTDB spent more
than 5 minutes before providing service for clients.
After analyzing, we found that the reason is :
1) IoTDB server's shutdown cause much WAL logs were kept in Disk.
2) When IoTDB restart, it will spend much time to recover from much WAL logs,
which will spent much time.
==============================================
So we plan to add flush action before graceful closing IoTDB process.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)