linagora / james-project

Mirror of Apache James Project
Apache License 2.0
70 stars 63 forks source link

Cassandra TTLs #5139

Closed chibenwa closed 3 months ago

chibenwa commented 4 months ago
org.apache.james.backends.cassandra.utils.CassandraAsyncExecutor$CassandraAsyncExecutorException: Failed executing INSERT INTO vacation_notification_registry (accountid,recipientid) VALUES (:accountid,:recipientid) USING TTL :ttl

Caused by: com.datastax.oss.driver.api.core.servererrors.InvalidQueryException: ttl is too large. requested (1038700758) maximum (630720000)

If exceeded, then we shall lower the value to the maximum supported...

Also review other usage of TTLs while we are at it!

chibenwa commented 4 months ago

https://github.com/apache/james-project/pull/2156