]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mgr/cephadm/schedule: shuffle candidates, not final placements
authorSage Weil <sage@newdream.net>
Tue, 9 Mar 2021 23:47:34 +0000 (18:47 -0500)
committerSage Weil <sage@newdream.net>
Tue, 16 Mar 2021 12:56:18 +0000 (07:56 -0500)
commitd3febc604c0e83fa10919ac2a9bd5edead106101
treeecd407c37917cf4d91308c8b6c4141d68bb99e93
parent8978229436b9bd38e9274239ae1f67e0c96350b5
mgr/cephadm/schedule: shuffle candidates, not final placements

Otherwise we may end out randomly doubling up on some hosts and none on
others (when we have more than one placement per host).

Signed-off-by: Sage Weil <sage@newdream.net>
(cherry picked from commit 8931958580c3d876fb45b2cec864817b4321a1c2)
src/pybind/mgr/cephadm/schedule.py