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

sabose at redhat.com sabose at redhat.com
Tue Jun 23 11:58: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/41491
To unsubscribe, visit https://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Iaefc24c83168ce53960c9f90597a43d5030f7212
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shubhendu Tripathi <shtripat at redhat.com>
Gerrit-Reviewer: Jenkins CI
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