Change in ovirt-engine[master]: engine: Adding brick order to Gluster volume bricks

ofrenkel at redhat.com ofrenkel at redhat.com
Mon Jun 11 13:16:37 UTC 2012


Omer Frenkel has submitted this change and it was merged.

Change subject: engine: Adding brick order to Gluster volume bricks
......................................................................


engine: Adding brick order to Gluster volume bricks

   Introduced the brick order field in GlusterBrickEntity and in gluster_volume_bricks table.
   Add / update the brick order.
   Update the volume type and replica/stripe count while adding/removing bricks.

Change-Id: I6bce4cf0b75c49b4ab20494c48a012b0bd3d55f6
Signed-off-by: Selvasundaram <sesubram at redhat.com>
---
M backend/manager/dbscripts/gluster_volumes_sp.sql
A backend/manager/dbscripts/upgrade/03_01_1170_add_volume_brick_order_column.sql
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/AddBricksToGlusterVolumeCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/CreateGlusterVolumeCommand.java
M backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GlusterVolumeRemoveBricksCommand.java
M backend/manager/modules/common/src/main/java/org/ovirt/engine/core/common/businessentities/gluster/GlusterBrickEntity.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/gluster/GlusterBrickDao.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/gluster/GlusterBrickDaoDbFacadeImpl.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/gluster/GlusterVolumeDao.java
M backend/manager/modules/dal/src/main/java/org/ovirt/engine/core/dao/gluster/GlusterVolumeDaoDbFacadeImpl.java
M backend/manager/modules/dal/src/main/resources/bundles/AppErrors.properties
M frontend/webadmin/modules/frontend/src/main/java/org/ovirt/engine/ui/frontend/AppErrors.java
12 files changed, 204 insertions(+), 39 deletions(-)

Approvals:
  Selvasundaram: Verified
  Omer Frenkel: Looks good to me, approved


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

Gerrit-MessageType: merged
Gerrit-Change-Id: I6bce4cf0b75c49b4ab20494c48a012b0bd3d55f6
Gerrit-PatchSet: 11
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Selvasundaram <sesubram at redhat.com>
Gerrit-Reviewer: Dhandapani Gopal <dgopal at redhat.com>
Gerrit-Reviewer: Kanagaraj M <kmayilsa at redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofrenkel at redhat.com>
Gerrit-Reviewer: Selvasundaram <sesubram at redhat.com>
Gerrit-Reviewer: Shireesh Anjal <sanjal at redhat.com>



More information about the Engine-commits mailing list