Mark / Philip - Thanks a lot. This is really helpful.
BTW It was my bad, i was mistaken that ttl was in miliseconds rather than
seconds..
Regards
Rajanish GJ
apigee | rajan...@apigee.com
On Fri, Nov 21, 2014 at 9:42 AM, Philip Thompson <
philip.thomp...@datastax.com> wrote:
> With the newest ve
With the newest versions of Cassandra, cql is not hanging, but returns the
same Invalid Query Exception you are seeing through hector. I would assume
from the exception that 63072 is in fact that largest TTL you can use.
What are you doing that you need to set a TTL of approximately 30 years?
Hi Rajanish,
Cassandra imposes a max TTL of 20 years.
public static final int MAX_TTL = 20 * 365 * 24 * 60 * 60; // 20 years in
> seconds
See:
https://github.com/apache/cassandra/blob/8d8fed52242c34b477d0384ba1d1ce3978efbbe8/src/java/org/apache/cassandra/db/ExpiringCell.java#L37
Mark
On 21