Skip to content

Ensure reauthentication attempts aren't blocked after unexpected error#44

Merged
njhill merged 1 commit intomasterfrom
auth-recover-fix
Nov 19, 2020
Merged

Ensure reauthentication attempts aren't blocked after unexpected error#44
njhill merged 1 commit intomasterfrom
auth-recover-fix

Conversation

@njhill
Copy link
Copy Markdown
Contributor

@njhill njhill commented Nov 18, 2020

Motivation

A resiliency bug was encountered where the client fails to reauthenticate/recover following an abnormal response from the server to the authenticate RPC request.

Modification

Ensure the status stored/propagated from a failed authenticate RPC will always be interpreted as authentication-related, so that the existing logic will properly re-attempt authentication in all cases.

Result

Client properly recovers in rare server failure scenario

Motivation

A resiliency bug was encountered where the client fails to
reauthenticate/recover following an abnormal response from the server to
the authenticate RPC request.

Modification

Ensure the status stored/propagated from a failed authenticate RPC will
always be interpreted as authentication-related, so that the existing
logic will properly re-attempt authentication in all cases.

Result

Client properly recovers in rare server failure scenario
@njhill njhill added the bug Something isn't working label Nov 18, 2020
@njhill njhill requested a review from alienzach November 18, 2020 22:32
Copy link
Copy Markdown
Contributor

@alienzach alienzach left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@njhill njhill merged commit 39c243f into master Nov 19, 2020
@njhill njhill deleted the auth-recover-fix branch November 19, 2020 00:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants