Notably with the “completed line” like this: 2024-06-12 15:04:30 [ 1,48,13:04:30.976,DBG] SCAVENGING: Scavenge Completed. Total time taken: 00:00:05.1476400. Total space saved: 3112960.
However, when we run a scavenge on our cluster it seems to stop half way without any error logs:
Where the last line is: SCAVENGING: Released the chunks lock
And then just nothing more. No errors or more logs regarding scavenging.
The /metrics reports the pods as being idle (eventstore_statuses / scavenge)
The scavenge command is executed via a cronjob with a two minute delay between each pod
Hi Tim, you were absolutely right, we had it set to Information on the cluster. We would prefer to keep it at Information in our production environment while still being able to confirm that scavenges are completed (log screened continually in grafana). Do you have an open issue about this, or do you want me to create one? Thanks for the assistance.
Just so you know, there are other useful logs at the Debug level apart from scavenge. Usually we recommend people to keep the level at Debug (as counter intuitive as this is).
You can also view completed scavenges in the UI on the Admin tab