Badger only appends the data to value log. Then later when LSM tree compactions run, they’d discard keys. If you’re running value log GC, then the GC would allow value logs to be deleted.
Badger does not modify data in place because that doesn’t play well with file system consistency and tools like rsync.