[
https://issues.apache.org/jira/browse/CASSANDRA-15959?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Brandon Williams updated CASSANDRA-15959:
-----------------------------------------
Test and Documentation Plan: it is a test.
Status: Patch Available (was: Open)
There seems to be a timing race between computing the max TTL and fetching the
TTL from the row. Patch to compute the max more closely to the fetch.
> org.apache.cassandra.cql3.validation.operations.TTLTest
> testCapWarnExpirationOverflowPolicy
> -------------------------------------------------------------------------------------------
>
> Key: CASSANDRA-15959
> URL: https://issues.apache.org/jira/browse/CASSANDRA-15959
> Project: Cassandra
> Issue Type: Bug
> Components: Test/unit
> Reporter: David Capwell
> Assignee: Brandon Williams
> Priority: Normal
> Fix For: 4.0-beta
>
> Attachments: 0001-computeMaxTTL-directly-before-fetching-TTL.patch
>
>
> Build:
> https://ci-cassandra.apache.org/job/Cassandra-trunk-test/194/testReport/junit/org.apache.cassandra.cql3.validation.operations/TTLTest/testCapWarnExpirationOverflowPolicy/
> junit.framework.AssertionFailedError
> at
> org.apache.cassandra.cql3.validation.operations.TTLTest.checkTTLIsCapped(TTLTest.java:321)
> at
> org.apache.cassandra.cql3.validation.operations.TTLTest.verifyData(TTLTest.java:303)
> at
> org.apache.cassandra.cql3.validation.operations.TTLTest.testCapExpirationDateOverflowPolicy(TTLTest.java:248)
> at
> org.apache.cassandra.cql3.validation.operations.TTLTest.testCapExpirationDateOverflowPolicy(TTLTest.java:199)
> at
> org.apache.cassandra.cql3.validation.operations.TTLTest.testCapWarnExpirationOverflowPolicy(TTLTest.java:140)
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]