]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: remember old weight on 'osd out'
authorSage Weil <sage@redhat.com>
Mon, 7 Nov 2016 16:25:05 +0000 (11:25 -0500)
committerSage Weil <sage@redhat.com>
Mon, 7 Nov 2016 16:28:43 +0000 (11:28 -0500)
commit73a2c11e94fb4dfc45d72690445b0b20682ef680
tree86bba9d6b655eeb228909ab510d5370525fd02a1
parentc2a94808e1d4b2beff78c9ea0d7ab338f87322bc
mon/OSDMonitor: remember old weight on 'osd out'

If we have an OSD with a weight that's not 1.0 and mark it out,
we should restore the same weight when we mark it back in. We
already do this when an OSD is automatically marked out, just
not when it is explicitly marked out.

Signed-off-by: Sage Weil <sage@redhat.com>
PendingReleaseNotes
qa/workunits/cephtool/test.sh
src/mon/OSDMonitor.cc