Good day to all!
I started using GitHub - dgraph-io/badger: Fast key-value DB in Go. thanks to the developers for the product!
But I have a problem with a growing place.
I insert the data with ttl, but it feels like the place is not being released and is constantly growing.
err = s.DB.Update(func(txn *badger.Txn) error {
return txn.SetWithTTL([]byte(key), data, time.Duration(ttl)*time.Second)
})
maybe I’m doing something wrong?
version of badger: v0.0.0-20190307201039-6b97bacb380b