Shubhendu Tripathi has posted comments on this change.

Change subject: engine: Update brick status to down when host down
......................................................................


Patch Set 1:

(1 comment)

....................................................
File 
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/SetNonOperationalVdsCommand.java
Line 87:         List<GlusterBrickEntity> brickEntities = 
getDbFacade().getGlusterBrickDao().getGlusterVolumeBricksByServerId(getVdsId());
Line 88:         for (GlusterBrickEntity brick : brickEntities) {
Line 89:             brick.setStatus(GlusterStatus.DOWN);
Line 90:         }
Line 91:         getDbFacade().getGlusterBrickDao().updateAll(brickEntities);
Should we do this using spring jdbc ?
Line 92:     }
Line 93: 
Line 94:     @Override
Line 95:     protected CommandContext createMigrateVmContext(ExecutionContext 
parentContext, VM vm) {


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Ib29f054c49962551773a63bf7484b4cee43de4de
Gerrit-PatchSet: 1
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Sahina Bose <sab...@redhat.com>
Gerrit-Reviewer: Kanagaraj M <kmayi...@redhat.com>
Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com>
Gerrit-Reviewer: Ramesh N <rnach...@redhat.com>
Gerrit-Reviewer: Shubhendu Tripathi <shtri...@redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
Gerrit-HasComments: Yes
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to