libceph: retry after authorization failure
authorSage Weil <sage@newdream.net>
Thu, 3 Mar 2011 20:14:53 +0000 (12:14 -0800)
committerSage Weil <sage@newdream.net>
Thu, 3 Mar 2011 21:47:40 +0000 (13:47 -0800)
commit692d20f576fb26f62c83f80dbf3ea899998391b7
tree91b3d1984b2986ea99c2b208de6dc65f1a74c701
parent38815b780285a4957852c5c9dbe94991c0b26c56
libceph: retry after authorization failure

If we mark the connection CLOSED we will give up trying to reconnect to
this server instance.  That is appropriate for things like a protocol
version mismatch that won't change until the server is restarted, at which
point we'll get a new addr and reconnect.  An authorization failure like
this is probably due to the server not properly rotating it's secret keys,
however, and should be treated as transient so that the normal backoff and
retry behavior kicks in.

Signed-off-by: Sage Weil <sage@newdream.net>
net/ceph/messenger.c