I’m working on a project which involves using badger for indexing documents using complex keys with nil values. Looking through the code, it seems that the delete bit is stored in the value as opposed to the key. Am i correct in assuming that if I’m in a key only iteration (prefetchvalues = false), i will also be iterating over deleted keys?
I did run some tests, using TTL and direct deletes. The iterator performed as expected and did not return any deleted or expired keys in my test cases. I was using a small dataset, so I’m assuming it was working entirely in memory. Not sure if the results would be any different with larger datasets