Shireesh Anjal has posted comments on this change.
Change subject: engine: Refresh gluster data periodically
......................................................................
Patch Set 15: (1 inline comment)
Response to comment in-line. Next patch-set will be a rebase.
....................................................
File
backend/manager/modules/bll/src/main/java/org/ovirt/engine/core/bll/gluster/GlusterManager.java
Line 468: private void createVolume(final GlusterVolumeEntity volume) {
Line 469: if (volume.getBricks() == null) {
Line 470: log.warnFormat("Bricks of volume {0} were not fetched. " +
Line 471: "Hence will not add it to engine at this point.",
volume.getName());
Line 472: return;
We want to continue processing other volumes/clusters, and not fail on such
conditions. Even if I throw an exception here, it is being caught in the
calling method (updateExistingAndNewVolumes()) anyway, and will not affect the
behavior.
Line 473: }
Line 474:
Line 475: for (GlusterBrickEntity brick : volume.getBricks()) {
Line 476: if (brick.getServerId() == null) {
--
To view, visit http://gerrit.ovirt.org/7288
To unsubscribe, visit http://gerrit.ovirt.org/settings
Gerrit-MessageType: comment
Gerrit-Change-Id: I6b61eb6e93105e46e2706eac1d94bc10717224c2
Gerrit-PatchSet: 15
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Shireesh Anjal <[email protected]>
Gerrit-Reviewer: Daniel Erez <[email protected]>
Gerrit-Reviewer: Moti Asayag <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Shireesh Anjal <[email protected]>
Gerrit-Reviewer: Yair Zaslavsky <[email protected]>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches