Consul snapshot compaction

consul snapshot size decreased more than 800 MB over the 2 months period even though we did not remove any data from it, is it because of compaction or some other reason, i dont see clear documentation on it in hashicorp.

can someone please throw some light on it.

Hi @sgoogal,

This does not seem like normal normal behavior. Have you tried restoring the snapshot to a test cluster? Does it contain the data you’d expect?

Can you also provide information the version of Consul used on the servers, and the version of the Consul CLI tool that is being used create the snapshot? Thanks.

P.S. - Linking your previous post here as well.

Hi @blake Thanks for your response.

yes we tried restoring the snapshot and we see the data we expected.

we use consul version 1.2.2 for both servers and CLI

I am also observing similar issue, do you find answer for your query