]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
ReplicatedBackend: don't queue Context outside of ObjectStore with obc 13569/head
authorSamuel Just <sjust@redhat.com>
Tue, 14 Feb 2017 20:47:37 +0000 (12:47 -0800)
committerSamuel Just <sjust@redhat.com>
Fri, 17 Feb 2017 17:48:05 +0000 (09:48 -0800)
commit51eee55c475a3d931844831e040ed3d66ee59af4
tree3e8f924f15060482ff854d02cdc9dea7e879d103
parent91b74235027c8a4872dcab6b37767b12c3267061
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>
src/osd/ReplicatedBackend.cc
src/osd/ReplicatedBackend.h