]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osd/MissingLoc, PeeringState: remove osd from missing loc in purge_strays() 30119/head
authorNeha Ojha <nojha@redhat.com>
Sat, 31 Aug 2019 01:15:58 +0000 (18:15 -0700)
committerNeha Ojha <nojha@redhat.com>
Tue, 3 Sep 2019 22:27:42 +0000 (15:27 -0700)
commit624ade487ea4aeaf988cc1767e0b293f76addd5b
tree3c9aec03d2f292b31dac5fafda857e886dfa4304
parent1d5a1e0eb96147f5c0bcb625e64b0faea1b45826
osd/MissingLoc, PeeringState: remove osd from missing loc in purge_strays()

We should always try to keep osds in missing_loc consistent with peer_missing
and peer_info. When we remove an osd from peer_missing and peer_info, we
should also remove it from missing_loc during purging strays.

Signed-off-by: Neha Ojha <nojha@redhat.com>
src/osd/MissingLoc.cc
src/osd/MissingLoc.h
src/osd/PeeringState.cc