Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ADDED] KV: ability to delete purges older than a certain time
A new option when creating the KeyValueStore allow specifying the threshold that dictates if the purge/delete marker would be removed or not during a PurgeDeletes() call. By default, this threshold is set to 30 minutes, that is, markers that are older than that would be removed, the ones that are younger are kept. The data is always removed. Signed-off-by: Ivan Kozlovic <ivan@synadia.com>
- Loading branch information
Showing
2 changed files
with
85 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters