Maor Lipchuk has submitted this change and it was merged.
Change subject: core: Validate creation date is bigger then deleted snapshot.
......................................................................
core: Validate creation date is bigger then deleted snapshot.
Snapshots can be removed only if those were created after the creation
date of the previewed snapshot the was commited.
Since the date is maintained in the DataBase with UTC indication, there
is no possibility for DST misshappans.
Change-Id: I7d4f1ff79337848b12a2e6b43c27144c46f1ec9d
Bug-Url:
https://bugzilla.redhat.com/1290427
Signed-off-by: Maor Lipchuk <maorlipchuk(a)gmail.com>
---
M
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/snapshots/RestoreAllSnapshotsCommand.java
1 file changed, 12 insertions(+), 3 deletions(-)
Approvals:
Shahar Havivi: Looks good to me, but someone else must approve
Maor Lipchuk: Verified; Looks good to me, approved; Passed CI tests
--
To view, visit
https://gerrit.ovirt.org/58551
To unsubscribe, visit
https://gerrit.ovirt.org/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: I7d4f1ff79337848b12a2e6b43c27144c46f1ec9d
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Maor Lipchuk <mlipchuk(a)redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini(a)redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas(a)redhat.com>
Gerrit-Reviewer: Daniel Erez <derez(a)redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Maor Lipchuk <mlipchuk(a)redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi(a)redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation(a)ovirt.org>