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

tnisan at redhat.com tnisan at redhat.com
Mon Jun 6 16:07:26 UTC 2016


Tal Nisan 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:
  Daniel Erez: Looks good to me, approved
  Maor Lipchuk: Verified; Passed CI tests

Objections:
  Jenkins CI: Failed CI tests



-- 
To view, visit https://gerrit.ovirt.org/58674
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I7d4f1ff79337848b12a2e6b43c27144c46f1ec9d
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-4.0
Gerrit-Owner: Maor Lipchuk <mlipchuk 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: Tal Nisan <tnisan at redhat.com>
Gerrit-Reviewer: gerrit-hooks <automation at ovirt.org>



More information about the Engine-commits mailing list