An ultra-lightweight database that supports key-value and time series data | 一款支持 KV 数据和时序数据的超轻量级数据库
1.92k
stars
435
forks
source link
[tsdb][read_sector_info]: fix flash overwrite when abnormal power loss #316
Closed
Mason-Zhang-X-C closed 1 month ago
https://github.com/armink/FlashDB/pull/302 这个pr确实解决了异常掉电后last time被变为0,但是会导致,上次异常掉电正在写的地址,下次上电后被复写,因为addr没有增加,还是上次FDB_TSL_PRE_WRITE的TSL的地址。