[ 
https://issues.apache.org/jira/browse/KNOX-2377?focusedWorklogId=446062&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-446062
 ]

ASF GitHub Bot logged work on KNOX-2377:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 15/Jun/20 19:56
            Start Date: 15/Jun/20 19:56
    Worklog Time Spent: 10m 
      Work Description: pzampino merged pull request #345:
URL: https://github.com/apache/knox/pull/345


   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 446062)
    Time Spent: 1h 20m  (was: 1h 10m)

> Address potential loss of token state
> -------------------------------------
>
>                 Key: KNOX-2377
>                 URL: https://issues.apache.org/jira/browse/KNOX-2377
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: Server
>    Affects Versions: 1.5.0
>            Reporter: Philip Zampino
>            Assignee: Philip Zampino
>            Priority: Major
>          Time Spent: 1h 20m
>  Remaining Estimate: 0h
>
> With the recent performance enhancements associated with token state 
> management (KNOX-2375), there has come the possibility of token state getting 
> lost.
> Part of the performance improvement is removing the persistence of token 
> state to the keystore (which is expensive) from the token request processing 
> path, and performing that persistence in a background thread.
> It's possible that the gateway could crash or otherwise go down before the 
> state of recently-issued tokens has been persisted to the keystore. 
> Consequently, after the gateway is restarted, subsequent use of these "lost" 
> tokens would result in client authentication failures because the tokens 
> would be unknown to the TokenStateService.
> The TokenStateService needs to be able to recover from such scenarios to 
> avoid the loss of token state.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to