]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commit
ReplicatedBackend: clear pull source once we are done with it
authorSamuel Just <sjust@redhat.com>
Fri, 24 Feb 2017 19:05:25 +0000 (11:05 -0800)
committerSage Weil <sage@redhat.com>
Wed, 8 Mar 2017 17:12:36 +0000 (12:12 -0500)
commit7968b4539b364099020b49de4033e39f324d1f30
treeea39128e1abba7807b75086157dc6fedd1e7121b
parent5967b9bf4c9f9c78ee0698146ccab8b9fb88da5f
ReplicatedBackend: clear pull source once we are done with it

68defc2b0561414711d4dd0a76bc5d0f46f8a3f8 factored out the clear_pull
behavoir, but we actually need to clear the pull source in
handle_pull_response (even though we don't clear the pulling entry
until the callback) so that we don't clear the pulling entry in
check_recovery_sources.  This should restore the clearing behavior
to basically what it was in kraken.

Fixes: http://tracker.ceph.com/issues/19076
Signed-off-by: Samuel Just <sjust@redhat.com>
src/osd/ReplicatedBackend.cc
src/osd/ReplicatedBackend.h