)]}'
{"/PATCHSET_LEVEL":[{"author":{"_account_id":39044,"name":"Alicja Filipek","display_name":"alaf01","email":"alicja.filipek@cleura.com","username":"alaf01"},"change_message_id":"54d66e132eccb1f9a2da1daee5d98fdba248756f","unresolved":false,"context_lines":[],"source_content_type":"","patch_set":1,"id":"f8946d2e_0ac8ee04","updated":"2026-11-05 16:52:01.000000000","message":"Nice change, and a good catch.\n\nThere is also one case it does not cover: when a backup action is given --remove-older-than (or the dates), run_job in main.py runs AdminJob after it and drops its result, so the ids of the backups removed there are never reported and their records stay. It might be added as a follow up, not blocking.\n\nOther than that I have 2 small coments.","commit_id":"25266990d1f73b6077d5941a69d477f723ef96b1"}],"freezer/job.py":[{"author":{"_account_id":39044,"name":"Alicja Filipek","display_name":"alaf01","email":"alicja.filipek@cleura.com","username":"alaf01"},"change_message_id":"54d66e132eccb1f9a2da1daee5d98fdba248756f","unresolved":true,"context_lines":[{"line_number":515,"context_line":"            if freezer_backup_id:"},{"line_number":516,"context_line":"                # The record freezer-scheduler created before the backup"},{"line_number":517,"context_line":"                # says it is being created."},{"line_number":518,"context_line":"                self.conf.status \u003d \u0027available\u0027"},{"line_number":519,"context_line":""},{"line_number":520,"context_line":"        elif backup_media \u003d\u003d \u0027cinderbrick\u0027:"},{"line_number":521,"context_line":"            LOG.info(\u0027Executing cinder volume backup using os-brick. \u0027"}],"source_content_type":"text/x-python","patch_set":1,"id":"116dbdc4_bb8894ff","line":518,"updated":"2026-11-05 16:52:01.000000000","message":"The string is hardcoded, I saw it is in line with what we currently have in the code, but nice to change it to some class/enum in the follow up.","commit_id":"25266990d1f73b6077d5941a69d477f723ef96b1"},{"author":{"_account_id":39044,"name":"Alicja Filipek","display_name":"alaf01","email":"alicja.filipek@cleura.com","username":"alaf01"},"change_message_id":"54d66e132eccb1f9a2da1daee5d98fdba248756f","unresolved":true,"context_lines":[{"line_number":816,"context_line":"                    # retries of one, share its record."},{"line_number":817,"context_line":"                    if deleted_id not in deleted_ids:"},{"line_number":818,"context_line":"                        deleted_ids.append(deleted_id)"},{"line_number":819,"context_line":"            return {\u0027deleted_freezer_backup_ids\u0027: deleted_ids}"},{"line_number":820,"context_line":"        hostname_backup_name_set \u003d set()"},{"line_number":821,"context_line":""},{"line_number":822,"context_line":"        if self.conf.backup_media \u003d\u003d \u0027nova\u0027:"}],"source_content_type":"text/x-python","patch_set":1,"id":"1ebebb05_871c3743","line":819,"updated":"2026-11-05 16:52:01.000000000","message":"nit: a set would do the deduplication without the inner loop:\n```\n            deleted_ids \u003d set()\n            for cinder_vol_id in cinder_vol_ids:\n                old_backups \u003d self.get_cinder_old_backups(\n                    timestamp,\n                    cinder_vol_id\n                )\n                deleted_ids.update(self.remove_backup_dirs(old_backups,\n                                                           cinder_vol_id))\n            return {\u0027deleted_freezer_backup_ids\u0027: list(deleted_ids)}\n```","commit_id":"25266990d1f73b6077d5941a69d477f723ef96b1"}]}
