]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
Objecter: set c->session to NULL if acting is empty
authorSamuel Just <sam.just@inktank.com>
Tue, 30 Jul 2013 22:46:22 +0000 (15:46 -0700)
committerSamuel Just <sam.just@inktank.com>
Tue, 30 Jul 2013 22:52:38 +0000 (15:52 -0700)
commit0e125e0e86c920218b97716addf1db89bcd93b0c
treed0db167746fff1208175f8425d3f5444019fe5fc
parent60cbed3fcd15d50cddb2999c2cfb800506453dea
Objecter: set c->session to NULL if acting is empty

Otherwise, we might leave a session attached to the
CommandOp for an down OSD.  handle_osd_map will then
delete the session for the down OSD.  tick() will then
attempt to follow the invalid pointer to find a
connection over which to send a MPing.

Fixes: #5798
Signed-off-by: Samuel Just <sam.just@inktank.com>
Reviewed-by: Sage Weil <sage@inktank.com>
src/osdc/Objecter.cc