backups.num_dependent_backups doesn't need to be stored in the db as an integer

Bug #1943493 reported by Eric Harney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Cinder
New
Low
Unassigned

Bug Description

backups.num_dependent_backups is manually incremented and decremented when backups that depend on a backup (incrementals) are created/deleted.

We should not track this manually, this field could just be a dynamic query that counts how many backups exist with parent_id = backup_id, which would be less error-prone.

Changed in cinder:
importance: Undecided → Medium
tags: added: backup-service db
Eric Harney (eharney)
tags: removed: backup-service
Changed in cinder:
importance: Medium → Low
tags: added: backup-service backups
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.