Tellier Benoit created JAMES-2811:
-------------------------------------

             Summary: DeletedMessageVault implemetation of retention
                 Key: JAMES-2811
                 URL: https://issues.apache.org/jira/browse/JAMES-2811
             Project: James Server
          Issue Type: Sub-task
            Reporter: Tellier Benoit


- calculating buckets for retention
- delete buckets by BlobStore API
- clean corresponding metadata in JAMES-2807

If bucket period can not be divided by retention period (for example: bucket 
period = 1 month, retention period = 1.5 month). Then calculate possible 
buckets then delete messages matching retention criterion inside them.

For the new implementation: maybe retention job doesn't need to use 
**vault.usersWithVault()** which is designed to fit with **mail repository 
version** in **DeleteByQueryExecutor** to perform retention. If can, we can 
remove that method and update the **DeleteByQueryExecutor**.

Asa reminder, the retention will be performed through webadmin task (already 
implemented) triggered by some external scheduling mechanism.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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

Reply via email to