akumuli / Akumuli

Time-series database
http://akumuli.org
Apache License 2.0
836 stars 84 forks source link

Data loss after recovery #380

Open goodspeed1986 opened 3 years ago

goodspeed1986 commented 3 years ago

Hello! We plan to use your database in our projects on embedded device. The main requirement for the database is to save data after an emergency power off from the device. After conducting a series of tests of your database, after a long continuous operation for several days and recording about 100 thousand points, we suddenly cut off the power from device. Akumuli successfully recovers data, we see it from the logs, but part of the data from the metrics disappears. We tested both with the WAL and without. With the WAL switched off, more data is lost. Do you have any recommendations on how to configure the database to ensure complete recovery from a sudden power outage?