You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/10/08 11:35:00 UTC
[jira] [Commented] (KNOX-2678) Expired tokens are not removed from
the in-memory cache
[ https://issues.apache.org/jira/browse/KNOX-2678?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17426122#comment-17426122 ]
ASF subversion and git services commented on KNOX-2678:
-------------------------------------------------------
Commit 2575a52b7398895cfdfce06e3361344f576b9fd8 in knox's branch refs/heads/master from Sandor Molnar
[ https://gitbox.apache.org/repos/asf?p=knox.git;h=2575a52 ]
KNOX-2678 - Removing expired tokens from in-memory cache properly (#508)
> Expired tokens are not removed from the in-memory cache
> -------------------------------------------------------
>
> Key: KNOX-2678
> URL: https://issues.apache.org/jira/browse/KNOX-2678
> Project: Apache Knox
> Issue Type: Bug
> Components: Server
> Reporter: Sandor Molnar
> Assignee: Sandor Molnar
> Priority: Critical
> Time Spent: 0.5h
> Remaining Estimate: 0h
>
> As a side effect of KNOX-2658, the following error is displayed in the logs and the given token remains in the in-memory cache:
> {noformat}
> 2021-10-08 09:40:32,502 INFO token.state (JDBCTokenStateService.java:evictExpiredTokens(216)) - Removing 1 expired token(s) from the database: 82ef4c45...e2b047162a35
> 2021-10-08 09:40:32,515 ERROR token.state (DefaultTokenStateService.java:getExpiredTokens(379)) - Failed to evict expired token 82ef4c45...e2b047162a35 : org.apache.knox.gateway.services.security.token.UnknownTokenException: Unknown token: 82ef4c45...e2b047162a35
> {noformat}
> Note: the token was successfully removed from the DB.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)