yinqiwen / ardb

A redis protocol compatible nosql, it support multiple storage engines as backend like Google's LevelDB, Facebook's RocksDB, OpenLDAP's LMDB, PerconaFT, WiredTiger, ForestDB.
BSD 3-Clause "New" or "Revised" License
1.83k stars 278 forks source link

Failed to save snapshot file with type:redis #463

Open danielamaya opened 5 years ago

danielamaya commented 5 years ago

I have a database with 7bn keys, each key is a set. I am trying to dump the database to an RDB file, but running into the following error:

[21147] 06-03 20:04:51,424 ERROR Previous key: with type:7 is not complete dump, 797 missing in 98871530 elements
[21147] 06-03 20:04:51,424 ERROR Failed to write dump file for reason code:-2
[21147] 06-03 20:04:51,424 WARN Failed to save snapshot file with type:redis
[21147] 06-03 20:04:51,424 WARN Remove snapshot file:/mnt/raid/ardb/data/backup/save-redis-snapshot.1559591958617.tmp

Looking for any help in troubleshooting what is going on here.