trove/releasenotes/notes/ussuri-fix-delete-datastore-version.yaml
Lingxian Kong a4057b10af Added checks for deleting datastore version
* Hard delete the datastore_configuration_parameters table record.
* Make 'datastore_version_id' nullable for 'instances' table.
* Check if the datastore version is still being used before removal.

Story: 2007563
Task: 39451
Change-Id: I84e4a31f14f9327cc01ff2d699167d91112e1565
2020-04-23 10:18:03 +12:00

8 lines
363 B
YAML

---
fixes:
- Fixed the issue that datastore version cannot be deleted because of
dependency of deleted instances. Now, when instance or backup is
deleted, the datastore version attribute is set to NULL in database.
When datastore configuration parameter is deleted, the record is
deleted from database rather than only set 'deleted' field to 1.