René Cordier created JAMES-4194:
-----------------------------------

             Summary: Tiering: max threading window
                 Key: JAMES-4194
                 URL: https://issues.apache.org/jira/browse/JAMES-4194
             Project: James Server
          Issue Type: Improvement
          Components: cassandra, JMAP
            Reporter: René Cordier
            Assignee: Antoine Duprat
             Fix For: 3.9.0


h2. Why

The cassandra table "thread_2" for storing thread data with the threadId 
guessing algorithm can grow significantly large over time. 

An option for tiering data in that table after a certain amount of time should  
provide useful in some use cases.

h2. How

Proposal is to add an optional TTL to the thread_2 table.

In `jvm.properties`:

{code:java}
james.thread.window=90d
{code}

Default to none (keep forever)

Document this in "tiering documentation".

Note that "thread_lookup_3" needs to be kept for correctness (it's much smaller)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to