]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
osdc/Objecter: possible race condition with connection reset 24574/head
authorJason Dillaman <dillaman@redhat.com>
Tue, 25 Sep 2018 18:18:00 +0000 (14:18 -0400)
committerPrashant D <pdhange@redhat.com>
Sun, 14 Oct 2018 23:01:49 +0000 (01:01 +0200)
commitfa17912120cd94e902e7d2b891f62aff53797901
tree8d8a7a0141f8995ef3604273e57c1e76c1b67b1f
parentccd69ef36aafebab964a2e47e249fdb95e083e46
osdc/Objecter: possible race condition with connection reset

If the connection quickly fails before the private session reference
can be associated with the connection, the connection will remain
closed and any OSD ops against the session will remain stuck.

Fixes: http://tracker.ceph.com/issues/36183
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
(cherry picked from commit 74ca33cb49d2c258324447b1ca366ed4e604202a)

Conflicts:
src/osdc/Objecter.cc : Resolved in ms_handle_reset
src/osdc/Objecter.cc