Change in ovirt-engine[master]: core: Validate creation date is bigger then deleted snapshot.

mlipchuk at redhat.com mlipchuk at redhat.com
Mon Jun 6 13:00:47 UTC 2016


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 at 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 at redhat.com>
Gerrit-Reviewer: Allon Mureinik <amureini at redhat.com>
Gerrit-Reviewer: Arik Hadas <ahadas at redhat.com>
Gerrit-Reviewer: Daniel Erez <derez at redhat.com>
Gerrit-Reviewer: Jenkins CI
Gerrit-Reviewer: Maor Lipchuk <mlipchuk at redhat.com>
Gerrit-Reviewer: Shahar Havivi <shavivi at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list