Sahina Bose has posted comments on this change.

Change subject: core:SPM role should not be granted to Gluster only nodes
......................................................................


Patch Set 2: (1 inline comment)

....................................................
File backend/manager/dbscripts/vds_sp.sql
Line 603:       RETURN QUERY SELECT vds.*
Line 604:       FROM vds vds, vds_groups vdsgroup
Line 605:       WHERE (status = 3) AND (storage_pool_id = v_storage_pool_id) 
AND (vds_spm_priority IS NULL OR vds_spm_priority > (-1))
Line 606:       AND vds.vds_group_id = vdsgroup.vds_group_id AND 
vdsgroup.virt_service = true
Line 607:       ORDER BY vds_spm_priority DESC, RANDOM();
This was existing order by condition which has not been changed.
>From the comment in IrsBrokerCommand::getPrioritizedVdsInPool where this is 
>been used:
 secondly ordered by RANDOM(), to deal with the case that there are several 
hosts with the same priority.
Line 608:    END;
Line 609:    RETURN;
Line 610: END; $procedure$
Line 611:   LANGUAGE plpgsql;


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

Gerrit-MessageType: comment
Gerrit-Change-Id: I6054ba6ad9864798b5d914659f39edaf884e2215
Gerrit-PatchSet: 2
Gerrit-Project: ovirt-engine
Gerrit-Branch: master
Gerrit-Owner: Sahina Bose <[email protected]>
Gerrit-Reviewer: Eli Mesika <[email protected]>
Gerrit-Reviewer: Kanagaraj M <[email protected]>
Gerrit-Reviewer: Omer Frenkel <[email protected]>
Gerrit-Reviewer: Sahina Bose <[email protected]>
Gerrit-Reviewer: Shireesh Anjal <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to