portworx / kvdb

Generic Key-Value interface
Apache License 2.0
40 stars 12 forks source link

PWX-21544: add a method to run compaction on the KVDB #105

Closed pureneelesh closed 2 years ago

pureneelesh commented 2 years ago

What this PR does / why we need it: The consumer may want to control when a kvdb gets compacted. Added a method to do that. Implemented the new method for etcd v3.

Fixed a few static-check warnings.

Signed-off-by: Neelesh Thakur neelesh.thakur@purestorage.com

Which issue(s) this PR fixes (optional) PWX-21544

Special notes for your reviewer: The static-check fixes should not be causing any change in the logic.