You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cassandra.apache.org by "Sylvain Lebresne (JIRA)" <ji...@apache.org> on 2014/12/02 12:29:12 UTC

[jira] [Resolved] (CASSANDRA-8405) Is there a way to override the current MAX_TTL value from 20 yrs to a value > 20 yrs.

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

Sylvain Lebresne resolved CASSANDRA-8405.
-----------------------------------------
    Resolution: Won't Fix

There is no way to override that MAX_TTL (or to add such override) since that's the maximum resolution allowed by the internal representation of TTLs. We could internally switch to a bigger resolution, but that would be quite a bit of work and could at best be done for 3.0.

Honestly, for a TTL as long as 90 years, I'd just set no TTL. I'm confident that in 90 years, the price of the TB will be low enough that you won't mind having you're data from today not actually expiring.

> Is there a way to override the current MAX_TTL value from 20 yrs to a value > 20 yrs.
> -------------------------------------------------------------------------------------
>
>                 Key: CASSANDRA-8405
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-8405
>             Project: Cassandra
>          Issue Type: Wish
>          Components: Core
>         Environment: Linux(RH)
>            Reporter: Parth Setya
>            Priority: Blocker
>              Labels: MAX_TTL, date, expiration, ttl
>
> We are migrating data from Oracle to C*.
> The expiration date for a certain column was set to 90 years in Oracle.
> Here we are not able to make that value go beyond 20 years.
> Could reccomend a way to override this value?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)