Skip to content

Move the snapshotDao.remove(snapshotId);#4006

Merged
andrijapanicsb merged 1 commit into
snapshot-deletion-issuesfrom
andrijapanicsb-patch-3
Apr 1, 2020
Merged

Move the snapshotDao.remove(snapshotId);#4006
andrijapanicsb merged 1 commit into
snapshot-deletion-issuesfrom
andrijapanicsb-patch-3

Conversation

@andrijapanicsb
Copy link
Copy Markdown
Contributor

No description provided.

@andrijapanicsb andrijapanicsb merged commit 3eafab4 into snapshot-deletion-issues Apr 1, 2020
@andrijapanicsb andrijapanicsb deleted the andrijapanicsb-patch-3 branch April 1, 2020 12:27
GabrielBrascher pushed a commit to GabrielBrascher/cloudstack that referenced this pull request Apr 2, 2020
andrijapanicsb added a commit that referenced this pull request Apr 11, 2020
* Fixes snapshot deletion

* Remove legacy '@component', it is not necessary in this bean/class.

* Fix log message missing %d and remove snapshot on DB

* Remove "dummy" boolean return statement

* Manage snapshot deletion for KVM + NFS (primary storage)

* checkstyle trailing spaces

* rename options strings to *_OPTION

* Fix typo on deleteSnapshotOnSecondaryStorage and enhance log message

* Move the snapshotDao.remove(snapshotId); (#4006)

* Fix deletesnapshot worflow to handle both snapshots created in primary storage and snapshots backed up to secondary storage

* Fix extra space

* refactor out separate handling methods for secondary and primary (reducing returns)

* return false on unexpected error or log when expected

* != instead of ==

* secondary instead of backup storage

* init to null

* Handle snapshot deletion on primary storage. When primary store ref not found for snapshot do not fail the operation.

* Fix debug levels on log messages

Co-authored-by: GabrielBrascher <gabriel@apache.org>
Co-authored-by: Andrija Panic <45762285+andrijapanicsb@users.noreply.github.com>
Co-authored-by: Harikrishna Patnala <harikrishna.patnala@gmail.com>
Co-authored-by: nvazquez <nicovazquez90@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant