Bug: v0.19.0: Reapplying Same Policies Increases Repo Size

I executed kopia repo create --config-file="$HOME/.config/kopia/repository.config" --path="/media/usb-drive/kopia/repository/" (& all other repo-specific settings the same) after having two existing repos w/ custom .config filenames present, connected. 000 & 001 already had ‘global/not-really-global’ policies applied (or see attached for said policies). I reapplied the same policy set to all three repos to ensure synchronization. Here is the result:

15M     /media/usb-drive/kopia/repository/
28M     /media/usb-drive/kopia/000
28M     /media/usb-drive/kopia/001
20250430T140846UTC

All three repo have yet to have snapshots taken/set up. An 86% increase in storage space usage due to reapplying the same policy set resulting is hardly expected behavior. Restarting the Kopia appimage has no apparent effect.


Related:

Just for a laugh I applied 'em again:

28M     /media/usb-drive/kopia/repository/
42M     /media/usb-drive/kopia/000
42M     /media/usb-drive/kopia/001
20250430T143018UTC

vs. a trio of freshly created repos with one applied set:

./du.sh && nowutc
15M     /media/usb-drive/kopia/repository
15M     /media/usb-drive/kopia/001
15M     /media/usb-drive/kopia/000
20250501T140540UTC

+180% from baseline. $obligatorilyHitchhikersReferenceHere. The question is… am I laughing with or at you, Kopia devs?