Duplicated Rows?

Garbage collection is done manually. The recommendation is to do it periodically, ideally during periods of low activity. See the docs on garbage collection: GitHub - dgraph-io/badger: Fast key-value DB in Go.

1 Like