Skip to content

Replace cache invalidation with TokenPoll.error#10712

Merged
kokosing merged 1 commit intotrinodb:masterfrom
s2lomon:s2lomon/token-exchange-without-cache-invalidation
Feb 2, 2022
Merged

Replace cache invalidation with TokenPoll.error#10712
kokosing merged 1 commit intotrinodb:masterfrom
s2lomon:s2lomon/token-exchange-without-cache-invalidation

Conversation

@s2lomon
Copy link
Copy Markdown
Member

@s2lomon s2lomon commented Jan 20, 2022

The issue is with cache.invalidate(key) as described here:
#10512

Instead of doing this, dropToken(key) method will
now replace valid Token with proper error, communicating that
client has consumed the results of the authentication and they are no longer
available. This error will be later cleared by standard after write timeout.

The issue is with cache.invalidate(key) as described here:
trinodb#10512

Instead of doing this, dropToken(key) method will
now replace valid Token with proper error, communicating that
client has consumed the results of the authentication and they are no longer
available. This error will be later cleared by standard after write timeout.
@cla-bot cla-bot bot added the cla-signed label Jan 20, 2022
@findepi
Copy link
Copy Markdown
Member

findepi commented Jan 20, 2022

is it fixing #10685 ?

@kokosing
Copy link
Copy Markdown
Member

Fixes #10685

@kokosing kokosing merged commit d40ab4e into trinodb:master Feb 2, 2022
@kokosing
Copy link
Copy Markdown
Member

kokosing commented Feb 2, 2022

@mosabua No release notes are needed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

4 participants