spacejam/sled

Do the values with duplicate keys still exist on disk? If so, how do I get them?

stackinspector opened this issue · 0 comments

Sorry in advance. This is not any of bug reports, feature requests, or security issues, so it may not be appropriate to post it in an issue. But I don't have easy access to discord.

I found a logic leak in my business code that would cause duplicates of keys that should be unique, which would cause values that should be saved to be overwritten. This leak has been fixed now, but I don't know how to recover the data that was previously overwritten by mistake. It's worth mentioning that incorrectly duplicate key insertions occur in milliseconds, which leads me to worry that the data has been de-duplicated in the memory cache before it is written to disk, so that that data has not even had a chance to be written to disk, making data recovery completely impossible.