]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mgr/DaemonServer: fix 'osd ok-to-stop' for EC pools 32046/head
authorSage Weil <sage@redhat.com>
Thu, 5 Dec 2019 18:59:31 +0000 (12:59 -0600)
committerSage Weil <sage@redhat.com>
Thu, 5 Dec 2019 20:31:24 +0000 (14:31 -0600)
commit66690ea3143ac5097f7c7f3118f2d00fed30cc4b
tree8cb5b7527adcbdb0fd28263ddd4a2e3f0ba9f4c3
parenteec1d9f0d3c7e0b07d0c41e79a467800db2c89ac
mgr/DaemonServer: fix 'osd ok-to-stop' for EC pools

We need to pay attention to account for CRUSH_ITEM_NONE entries in the
EC PG acting set.

Fixes: https://tracker.ceph.com/issues/43151
Signed-off-by: Sage Weil <sage@redhat.com>
qa/standalone/misc/ok-to-stop.sh
src/mgr/DaemonServer.cc