[ 
https://issues.apache.org/jira/browse/CASSANDRA-18805?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17767545#comment-17767545
 ] 

Shailaja Koppu commented on CASSANDRA-18805:
--------------------------------------------

Found a way. We can set high validity for cache, in the setup() before cache 
gets created. Rest of the setup() code remains as it is.

    @BeforeClass
    public static void setup() throws Exception
    {
        DatabaseDescriptor.setRolesValidity(Integer.MAX_VALUE-1);

 

Once we do that, cache's expireAfterWrite gets set to 2147483646 ms, which is 
596+ hours, i.e, 24+ days.

I will run the change under circle CI couple of times and let you know how it 
goes.

> Upgrade caffeine to 3.1.8
> -------------------------
>
>                 Key: CASSANDRA-18805
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-18805
>             Project: Cassandra
>          Issue Type: Task
>          Components: Dependencies
>            Reporter: Ekaterina Dimitrova
>            Assignee: Ekaterina Dimitrova
>            Priority: Normal
>             Fix For: 5.0.x, 5.x
>
>
> 3.1.8 is based on Java 11. This version is testing with newer JDK versions, 
> while 2.x versions are based on JDK8, and as I understand, only bug-fix 
> releases are expected.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to