cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Paulo Motta (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CASSANDRA-14188) Max TTL is too big now
Date Wed, 24 Jan 2018 10:45:00 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-14188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Paulo Motta resolved CASSANDRA-14188.
-------------------------------------
    Resolution: Duplicate

Closing as duplicate of CASSANDRA-14092.

> 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


Mime
View raw message