ideawu / ssdb

SSDB - A fast NoSQL database, an alternative to Redis
http://ssdb.io/
BSD 3-Clause "New" or "Revised" License
8.19k stars 1.4k forks source link

ssdb-repair 修复完了,一直repair #1408

Open QQxiaoyuyu opened 2 years ago

QQxiaoyuyu commented 2 years ago

image x修改完成后,说部分数据丢失,然后就一直compact,请问这个还有救吗

}Y_0QL_BGRVAYXG$%R18%%8

marlboroman81 commented 1 year ago

I've also done the DB repair like you, with ssdb-repair tool: Here's the log: 2023/01/26-01:14:07.245068 7f9e65ee3780 Archiving /media/nvm/ssdb2/data/MANIFEST-1580581: OK 2023/01/26-01:14:07.245385 7f9e65ee3780 Repaired leveldb /media/nvm/ssdb2/data; recovered 15127 files; 441227573671 bytes. Some data may have been lost.

After the repair was done it began to compact the data. I've interrupted it. But after I start the SSDB daemon it begins the data compacting process again automatically and the write performance became very poor. How can I make it stop compacting and return to normal write performance? (My DB folder size is about 410 Gb.) The DB folder located at fast Enterprise NVMe Intel DC4510 8Tb. Thanks a lot!