Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dropPrefix): add DropPrefixNonBlocking API (dgraph-io#1698)
This PR adds DropPrefixNonBlocking and DropPrefixBlocking API that can be used to logically delete the data for specified prefixes. DropPrefix now makes decision based on badger option AllowStopTheWorld whose default is to use DropPrefixBlocking. With DropPrefixNonBlocking the data would not be cleared from the LSM tree immediately. It would be deleted eventually through compactions. Co-authored-by: Rohan Prasad <[email protected]>
- Loading branch information