Sergey Gotliv has posted comments on this change.

Change subject: core: Allow force re-election of a specific host as SPM
......................................................................


Patch Set 4: Looks good to me, but someone else must approve

(1 inline comment)

Looks nice and clean.

....................................................
File 
backend/manager/modules/vdsbroker/src/main/java/org/ovirt/engine/core/vdsbroker/irsbroker/IrsBrokerCommand.java
Line 709:             for (VDS vds : allVds) {
Line 710:                 if (!mTriedVdssList.contains(vds.getId()) && 
!vds.getId().equals(curVdsId)) {
Line 711:                     if (vds.getId().equals(preferredHost)) {
Line 712:                         vdsRelevantForSpmSelection.add(0, vds);
Line 713:                     }
This is not so important, but now LinkedList is probably the best 
implementation for vdsRelevantForSpmSelection and then use addFirst method.
Line 714:                     else {
Line 715:                         vdsRelevantForSpmSelection.add(vds);
Line 716:                     }
Line 717:                 }


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

Gerrit-MessageType: comment
Gerrit-Change-Id: Iab31fc7918b10448b923821547a583f3d6c3fcba
Gerrit-PatchSet: 4
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Tal Nisan <tni...@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: Sergey Gotliv <sgot...@redhat.com>
Gerrit-Reviewer: Tal Nisan <tni...@redhat.com>
Gerrit-Reviewer: oVirt Jenkins CI Server
_______________________________________________
Engine-patches mailing list
Engine-patches@ovirt.org
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to