What is the maximum value we can assign TTL?
In the java driver for cassandra, TTL is set as int. Does this mean that it is limited to Integer.MAX (2,147,483,647 seconds)?
The maximum TTL is actually 20 years. From org.apache.cassandra.db.ExpiringCell:
org.apache.cassandra.db.ExpiringCell
public static final int MAX_TTL = 20 * 365 * 24 * 60 * 60; // 20 years in seconds
I think this is verified both by the CQL query path and by Thrift.