Change in ovirt-hosted-engine-ha[ovirt-hosted-engine-ha-1.1]: use max not min when computing the best score

msivak at redhat.com msivak at redhat.com
Tue Jul 15 13:34:22 UTC 2014


Martin Sivák has submitted this change and it was merged.

Change subject: use max not min when computing the best score
......................................................................


use max not min when computing the best score

The best score is the highest score, so this was
a 'thinko'. However this bug manifests itself only
if there is more than 2 hosts in the setup.

Change-Id: I0c265aa60611793b1cd4738ec057e9e7d02747a1
Bug-Url: https://bugzilla.redhat.com/show_bug.cgi?id=1119763
Signed-off-by: Jiri Moskovcak <jmoskovc at redhat.com>
---
M ovirt_hosted_engine_ha/agent/state_machine.py
1 file changed, 2 insertions(+), 2 deletions(-)

Approvals:
  Martin Sivák: Looks good to me, approved
  Jiří Moskovčák: Verified; Looks good to me, but someone else must approve



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

Gerrit-MessageType: merged
Gerrit-Change-Id: I0c265aa60611793b1cd4738ec057e9e7d02747a1
Gerrit-PatchSet: 3
Gerrit-Project: ovirt-hosted-engine-ha
Gerrit-Branch: ovirt-hosted-engine-ha-1.1
Gerrit-Owner: Jiří Moskovčák <jmoskovc at redhat.com>
Gerrit-Reviewer: Jiří Moskovčák <jmoskovc at redhat.com>
Gerrit-Reviewer: Martin Sivák <msivak at redhat.com>
Gerrit-Reviewer: Sandro Bonazzola <sbonazzo at redhat.com>
Gerrit-Reviewer: automation at ovirt.org
Gerrit-Reviewer: oVirt Jenkins CI Server



More information about the Engine-commits mailing list