]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osdc: watch error callback invoked on cancelled context 3780/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 24 Feb 2015 00:45:03 +0000 (19:45 -0500)
committerJason Dillaman <dillaman@redhat.com>
Tue, 24 Feb 2015 01:00:43 +0000 (20:00 -0500)
commit9c03750acdf8f7dd5901c0f2e0f7d7f8c14ff3d7
tree316ed9540d60cb6458d6e30481fff3c4ad5bf0c3
parente1f2c97256fdc776449f7487d54a21944160edc3
osdc: watch error callback invoked on cancelled context

The C_DoWatchError context did not verify whether or not the
watch was cancelled prior to invoking the callback.  This
resulted in sporadic crashes when reconnect errors bubbled
up to destroyed objects.

Signed-off-by: Jason Dillaman <dillaman@redhat.com>
src/osdc/Objecter.cc