Skip to content
Commit 90b6561a authored by Ilya Dryomov's avatar Ilya Dryomov
Browse files

libceph: don't call reset_connection() on version/feature mismatches



A fault due to a version mismatch or a feature set mismatch used to be
treated differently from other faults: the connection would get closed
without trying to reconnect and there was a ->bad_proto() connection op
for notifying about that.

This changed a long time ago, see commits 6384bb8b ("libceph: kill
bad_proto ceph connection op") and 0fa6ebc6 ("libceph: fix protocol
feature mismatch failure path").  Nowadays these aren't any different
from other faults (i.e. we try to reconnect even though the mismatch
won't resolve until the server is replaced).  reset_connection() calls
there are rather confusing because reset_connection() resets a session
together an individual instance of the protocol.  This is cleaned up
in the next patch.

Signed-off-by: default avatarIlya Dryomov <idryomov@gmail.com>
parent 418af5b3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment