Change in ovirt-engine[ovirt-engine-3.5-gluster]: gluster: Corrected geo-rep case of volume snapshot creation

sabose at redhat.com sabose at redhat.com
Tue Jun 23 12:44:56 UTC 2015


Sahina Bose has submitted this change and it was merged.

Change subject: gluster: Corrected geo-rep case of volume snapshot creation
......................................................................


gluster: Corrected geo-rep case of volume snapshot creation

While creating gluster volume snapshot for a geo-replicated
volume, we try to pause the geo-rep session and then create
snapshot for the slave volume first. The pause of the slave
volume should be done only if geo-rep session is not in
one of the states from CREATED, PAUSED or STOPPED.
Modified the code accordingly.

Change-Id: Iaefc24c83168ce53960c9f90597a43d5030f7212
Bug-Url: https://bugzilla.redhat.com/1224902
Signed-off-by: Shubhendu Tripathi <shtripat at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/CreateGlusterVolumeSnapshotCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/PauseGlusterVolumeGeoRepSessionCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/RestoreGlusterVolumeSnapshotCommand.java
3 files changed, 85 insertions(+), 74 deletions(-)

Approvals:
  Shubhendu Tripathi: Verified
  Sahina Bose: Looks good to me, approved; Passed CI tests



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

Gerrit-MessageType: merged
Gerrit-Change-Id: Iaefc24c83168ce53960c9f90597a43d5030f7212
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: ovirt-engine-3.5-gluster
Gerrit-Owner: Shubhendu Tripathi <shtripat at redhat.com>
Gerrit-Reviewer: Sahina Bose <sabose at redhat.com>
Gerrit-Reviewer: Shubhendu Tripathi <shtripat at redhat.com>
Gerrit-Reviewer: automation at ovirt.org



More information about the Engine-commits mailing list