]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
osdc/Objecter: resend command map version checks on reconnect
authorSage Weil <sage@inktank.com>
Tue, 2 Jul 2013 20:43:29 +0000 (13:43 -0700)
committerSage Weil <sage@inktank.com>
Tue, 2 Jul 2013 20:43:29 +0000 (13:43 -0700)
commita4805efc1814c53678d74920814c7825bdcd8e64
tree5152d155b9a181260eec41db41505010c3bb41af
parent08123b6a13c5559f76912c556b8af2cb6fefe8f7
osdc/Objecter: resend command map version checks on reconnect

We already do this for Ops and LingerOps, but missed this when we added
CommandOps to the mix.  The result is that an ill-timed mon disconnect will
leave a command map check (and thus the command) hanging.

This misbehavior was introduced when CommandOp was introduced, back in
commit 2e172225b01561bb7988b6d86d96ff4b9c1c5762, and we failed to fix it
in 8808ca57c652502d9cf803b0dc53673ca9dd62af.

Fixes: #5493
Signed-off-by: Sage Weil <sage@inktank.com>
Reviewed-by: Josh Durgin <josh.durgin@inktank.com>
src/osdc/Objecter.cc