You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Jeremiah Jordan (JIRA)" <ji...@apache.org> on 2018/01/24 05:25:00 UTC
[jira] [Updated] (CASSANDRA-14188) Max TTL is too big now
[ 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: commits-unsubscribe@cassandra.apache.org
For additional commands, e-mail: commits-help@cassandra.apache.org