Snapchat / KeyDB

A Multithreaded Fork of Redis
https://keydb.dev
BSD 3-Clause "New" or "Revised" License
11.54k stars 579 forks source link

[BUG] BGSAVE | Assertion Failed: rdb.cpp:1372 'ckeysExpired == db->expireSize()' is not true #868

Open waska14 opened 1 month ago

waska14 commented 1 month ago

Because of this bug, BGSAVE failed (stuck) at 99.91% (current_fork_perc: 99.91). As a result, I can't take a backup and move to another server.

What should I do? What is the reason? keydb-server.log

keithchew commented 1 month ago

Hi @waska14 have a read on this thread, hopefully you have a backup from an older version:

https://github.com/Snapchat/KeyDB/issues/743#issuecomment-1888538934

waska14 commented 1 month ago

Hi @keithchew .

Returned to Redis :) We don’t have time to deal with these kinds of issues in production, where there are over 30k requests per second.

Anyway, thanks. I saw that issue, but I was hoping it had been fixed by now.