]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedBackend: don't queue Context outside of ObjectStore with obc 16132/head
authorSamuel Just <sjust@redhat.com>
Tue, 14 Feb 2017 20:47:37 +0000 (12:47 -0800)
committerNathan Cutler <ncutler@suse.com>
Wed, 5 Jul 2017 20:31:20 +0000 (22:31 +0200)
commit405503472ea6b3a2965455c8c064dc0e4d713ad4
tree01151a103e2f90d5a3af6ff6c155b1f481ec0515
parent5257d1a643fb1af36b80650ea2b014b4887dc10f
ReplicatedBackend: don't queue Context outside of ObjectStore with obc

We only flush the ObjectStore callbacks, not everything else.  Thus,
there isn't a guarrantee that the obc held by pull_complete_info will
be cleaned up before the Flush callback is triggered.  Instead, just
defer clearing the pull state until the callback (it'll be cleaned up
during the interval change) and remove the ObjectContext from
pull_complete_info.

Introduced: 68defc2b0561414711d4dd0a76bc5d0f46f8a3f8
Fixes: http://tracker.ceph.com/issues/18927
Signed-off-by: Samuel Just <sjust@redhat.com>
(cherry picked from commit 51eee55c475a3d931844831e040ed3d66ee59af4)
src/osd/ReplicatedBackend.cc
src/osd/ReplicatedBackend.h