How to clean up w directory logs

jarifibrahim commented :

The value log should be cleared up automatically by the GC. We run GC for w and p directory periodically dgraph/server_state.go at 21cc8936de30df433f6ccf01f8eaf1415fc0b391 · dgraph-io/dgraph · GitHub

One possibly could be that there’s not enough stale data for GC to reclaim space. The badger GC (which Dgraph uses) performs sampling on the file to determine if the file has enough stale data.