Description
The problem is that the percentage is computed as "current KVs to compact"/"total KVs to compact", and the template accumulating the counts over its lifetime. Initially it is OK (for the very first run), but after a short amount of time the percentage idles around 99-100% always.
Not sure how to fix, since we do not have the previews value (unless we save it somewhere in the page, which is messy during reloads etc.). We may have to simply drop the percentage? Or better would be not to accumulate the counts, but keep the current/total number as well, which makes the percentage computation always correct. I vote for the latter.