]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osd: only exit if *latest* map(s) say we are destroyed 19988/head
authorSage Weil <sage@redhat.com>
Wed, 17 Jan 2018 16:38:29 +0000 (10:38 -0600)
committerSage Weil <sage@redhat.com>
Wed, 17 Jan 2018 16:38:29 +0000 (10:38 -0600)
commit4e4d6466aab259eb0436989401b80b6c3cf87a7c
tree2b720a3165bb44921d5da70b5abeed9ac99950a3
parent1789a0ee46013ba9aa56ed5b63356e815c9292de
osd: only exit if *latest* map(s) say we are destroyed

It's possible our current map is older, we were destroyed then, but in
newer maps our osd was recreated.  This happens when the oldest map after
a recreated osd happens to land on an epoch where the osd was marked
destroyed.

Fix by only exiting if one of the newest maps says we are (still)
destroyed.

Fixes: http://tracker.ceph.com/issues/22673
Signed-off-by: Sage Weil <sage@redhat.com>
src/osd/OSD.cc