Allon Mureinik has posted comments on this change. Change subject: engine: Speed up SPM re-selection process. ......................................................................
Patch Set 1: Code-Review+1 (1 comment) minor comment, but want more eyes on this bug. .................................................... File backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/irsbroker/IrsBrokerCommand.java Line 954: return returnValue != null && (returnValue.getSucceeded() || isNotSPM(returnValue)); Line 955: } Line 956: Line 957: private boolean isNotSPM(VDSReturnValue returnValue) { Line 958: return returnValue != null && returnValue.getVdsError() != null && "retrunValue != null" is redundant here. Line 959: returnValue.getVdsError().getCode() == VdcBllErrors.SpmStatusError; Line 960: } Line 961: Line 962: private SpmStatusResult startSpm(Guid vdsId, -- To view, visit http://gerrit.ovirt.org/18013 To unsubscribe, visit http://gerrit.ovirt.org/settings Gerrit-MessageType: comment Gerrit-Change-Id: I2c191ad8d4ec0fb4f5f8ff68b84fa5189ecc7114 Gerrit-PatchSet: 1 Gerrit-Project: ovirt-engine Gerrit-Branch: master Gerrit-Owner: Sergey Gotliv <sgot...@redhat.com> Gerrit-Reviewer: Alissa Bonas <abo...@redhat.com> Gerrit-Reviewer: Allon Mureinik <amure...@redhat.com> Gerrit-Reviewer: Daniel Erez <de...@redhat.com> Gerrit-Reviewer: Liron Ar <lara...@redhat.com> Gerrit-Reviewer: Maor Lipchuk <mlipc...@redhat.com> Gerrit-Reviewer: Omer Frenkel <ofren...@redhat.com> Gerrit-Reviewer: Sergey Gotliv <sgot...@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