• Sage Weil's avatar
    libceph: retry after authorization failure · 692d20f5
    Sage Weil authored
    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: default avatarSage Weil <sage@newdream.net>
    692d20f5
messenger.c 59.2 KB