[
https://issues.apache.org/jira/browse/CASSANDRA-14188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jeremiah Jordan updated CASSANDRA-14188:
----------------------------------------
Description: We reject TTL’s over 20 years as being too large, but that is
too big now. The current time in seconds + 20 years in seconds overflows max
int as of a couple days ago, which makes the expiretime overflow and go
negative causing an assertion. We need to change the max TTL so we report a
nice error message rather than throwing assertions about a negative expire
time. (was: We reject TTL’s over 20 years as being to large, but that is too
big now. The current time in seconds + 20 years in seconds overflows max int as
of a couple days ago, which makes the expiretime overflow and go negative
causing an assertion. We need to change the max TTL so we report a nice error
message rather than throwing assertions about a negative expire time.)
> Max TTL is too big now
> ----------------------
>
> Key: CASSANDRA-14188
> URL: https://issues.apache.org/jira/browse/CASSANDRA-14188
> Project: Cassandra
> Issue Type: Bug
> Reporter: Jeremiah Jordan
> Priority: Major
>
> We reject TTL’s over 20 years as being too large, but that is too big now.
> The current time in seconds + 20 years in seconds overflows max int as of a
> couple days ago, which makes the expiretime overflow and go negative causing
> an assertion. We need to change the max TTL so we report a nice error message
> rather than throwing assertions about a negative expire time.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]