[ 
https://issues.apache.org/jira/browse/JAMES-2835?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16893431#comment-16893431
 ] 

Trần Tiến Đức commented on JAMES-2835:
--------------------------------------

PR is contributed in [https://github.com/linagora/james-project/pull/2534]

> Removing messages in Deleted Message Vault
> ------------------------------------------
>
>                 Key: JAMES-2835
>                 URL: https://issues.apache.org/jira/browse/JAMES-2835
>             Project: James Server
>          Issue Type: Improvement
>            Reporter: Trần Tiến Đức
>            Priority: Major
>
> Given a messageId, all messages having the same blobId will also be removed.
> Of course this will need to be tested at the integration test level :
> {code:java}
> Given Bob with deletedMessage1 having blob1
> And Alice with deletedMessage2 having blob1
> When I delete deletedMessage1
> Then blob1 no longer exists
> And deletedMessage2 is also deleted{code}
>  
> No need crazy metadata denormalization: eventually metadata (not accessible) 
> will be cleaned up by retention



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to