Change in ovirt-engine[master]: gluster: Wrapper method for updating volume status

sanjal at redhat.com sanjal at redhat.com
Mon Jan 21 09:10:27 UTC 2013


Shireesh Anjal has submitted this change and it was merged.

Change subject: gluster: Wrapper method for updating volume status
......................................................................


gluster: Wrapper method for updating volume status

Introduced a new wrapper method GlusterUtils#updateVolumeStatus() for
updating status of a volume. This internally updates status of all the
bricks of that volume as well.

Modified the start/stop gluster volume commands to make use of this new
method. Removed the method GlusterVolumeCommandBase#updateBrickStatus()
as it is not required any more.

Change-Id: Ia5ae4f24e8c70781d7f93f19c935e136ba8b702b
Signed-off-by: Shireesh Anjal <sanjal at redhat.com>
---
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GlusterVolumeCommandBase.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/StartGlusterVolumeCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/StopGlusterVolumeCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/utils/GlusterUtils.java
4 files changed, 37 insertions(+), 27 deletions(-)

Approvals:
  Shireesh Anjal: Verified; Looks good to me, approved


--
To view, visit http://gerrit.ovirt.org/11167
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Ia5ae4f24e8c70781d7f93f19c935e136ba8b702b
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shireesh Anjal <sanjal at redhat.com>
Gerrit-Reviewer: Kanagaraj M <kmayilsa at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Shireesh Anjal <sanjal at redhat.com>



More information about the Engine-commits mailing list