ziti icon indicating copy to clipboard operation
ziti copied to clipboard

Add db compact ability to ziti-controller command

Open andrewpmartinez opened this issue 4 years ago • 1 comments

bbolt supports a compact command that can be used to reduce the size of databases. This can also be done via the Edge API w/ a database snapshot, but this is a very easy way for a sysadmin to do the same thing.

andrewpmartinez avatar Oct 16 '20 16:10 andrewpmartinez

The compact logic isn't exposed. Seeing if we can bolt to expose it here: https://github.com/etcd-io/bbolt/issues/247 . I put a PR up for them as well.

If not we can always copy it...

andrewpmartinez avatar Oct 16 '20 17:10 andrewpmartinez