What's the bahavior of badger if it cannot find the cell for Txn.Delete

Will it simply return nil, or (like Txn.Get), return ErrKeyNotFound?


Deletes in badger are logical deletes. We will insert a new key with the delete marker. So to answer your question, badger will return nil when you perform a delete.

thanks for the clarification!