Release 0.19.4
This patch release improves how Backups clean up expired segments,
and fixes kannika-tools commands on S3 and GCS storage.
Installation
Section titled “Installation”For new installations, see the Installation guide.
For upgrading existing installations, see the associated Upgrading to 0.19.x guide.
Improvements
Section titled “Improvements”- Backup: when a topic’s retention policy changes from
DeletetoKeep, or is removed, the segments that expired under theDeletepolicy are no longer deleted from the storage. - Backup: a topic’s index drops deleted segments right after they are cleaned up.
- Backup: on S3, GCS and Azure Blob storage, a Backup that loses a topic’s storage lease to another process steps back right away and leaves the topic to the new lease holder.
- Backup: cleaning up expired segments also removes orphaned segment files, once they are older than the grace period.
- Backup: when a topic’s backup stops or restarts, it stops cleaning up expired segments before it releases the topic’s storage lease.
- Backup: the grace period and batch size of the segment cleanup can be set per Backup with annotations.
- Console: the Backups overview shows a warning icon for Backups with topics in back-off. Clicking the warning or error icon opens the Backup’s topics, filtered on the topics in back-off or in error.
Bug fixes
Section titled “Bug fixes”- Console: a topic in back-off no longer shows as failed for a moment when you open its Backup.
- Backup: cleaning up expired segments sends fewer requests to the storage for topics without snapshots.
- Tools:
kannika-toolscommands finish against GCS storage with a service account key. Before, they hung while fetching the access token. - Tools:
kannika-toolscommands read every segment file and every topic of a backup in S3 storage. - Tools: on S3 storage,
index rebuildonly reads the segment files of the given topic. - Tools: on S3 storage,
index show --allandsnapshot list --allonly list the topics below the configuredprefix. - Tools:
index rebuildkeeps the topic id of the index, so the Backup still detects a deleted and recreated topic.
Release notes
Section titled “Release notes”For a full list of changes, see the Changelog.

