]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
mon/OSDMonitor: ensure UP is not set for newly-created OSDs 16534/head
authorSage Weil <sage@redhat.com>
Mon, 24 Jul 2017 14:08:56 +0000 (10:08 -0400)
committerSage Weil <sage@redhat.com>
Mon, 24 Jul 2017 14:08:56 +0000 (10:08 -0400)
commita9506504a44444056737cafc91116fe3907c43c0
tree7ce3ee52683f69da8adf95db59aed61923ab0730
parent23b6df4ef0b221d821592af39fd6f5822057d4ac
mon/OSDMonitor: ensure UP is not set for newly-created OSDs

Due to http://tracker.ceph.com/issues/20751 it is possible for the UP
state bit to be set for OSDs without EXISTS.  Make sure it is cleared as
needed when the OSD id is reused.

Signed-off-by: Sage Weil <sage@redhat.com>
src/mon/OSDMonitor.cc