Details
-
Bug
-
Status: Resolved
-
Normal
-
Resolution: Duplicate
-
None
-
None
-
None
-
Normal
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.
Attachments
Issue Links
- duplicates
-
CASSANDRA-14092 Max ttl of 20 years will overflow localDeletionTime
- Resolved