software_config and software_deployment tables lack a deleted_at column
Bug #1346750 reported by
Kanagaraj Manickam
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Triaged
|
Low
|
Kanagaraj Manickam |
Bug Description
the cloumn 'deleted_at' is used in the tables for representing the deleted time and to support soft delete. Once soft delete is provided, admin will run the db_archive command to remove the soft deleted rows on as per the admin schedule.
In heat, following tables are missing with deleted_at column.
Software_config
Software_deployment
user_Creds
raw_template
resource
event
snapshot
resource_data
Changed in heat: | |
assignee: | nobody → Kanagaraj Manickam (kanagaraj-manickam) |
Changed in heat: | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in heat: | |
milestone: | none → no-priority-tag-bugs |
To post a comment you must log in.
I do not believe there is a need for deleted_at on most of these tables. Some have a stack_id or a direct relationship with a table that has a stack_id. The records will effectively vanish from the public API when the stack is marked as deleted. Others, such as raw_template and user_creds, are referred to directly in the stack record and thus may be 1:N and will be cleaned up when the stack is archived and there are no more references to them.
So only software_config and software_deployment are in need of deleted_at.