[
https://issues.apache.org/jira/browse/JAMES-4230?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18116164#comment-18116164
]
Benoit Tellier commented on JAMES-4230:
---------------------------------------
Acceptance criteria: integration test with duplicating blobstore and deleted
message vault, 1 test at least for PG & distributed.
> Deleted message vault do not work with duplicating blob store
> -------------------------------------------------------------
>
> Key: JAMES-4230
> URL: https://issues.apache.org/jira/browse/JAMES-4230
> Project: James Server
> Issue Type: Bug
> Reporter: Benoit Tellier
> Priority: Major
>
> Spotted by a customer
> For performance reason deleted message vault relies on asynchronous copy,
> hidden behing the Event Bus.
> In duplication mode the blob deletion happens before we get a chace to copy
> it in the deleted message vault by DeleteMessageListener
> h3. Proposal
> By default, inject MailboxBlobDeletionMode.SYNCHRONOUS
> When deleted message vault is active, inject
> MailboxBlobDeletionMode.ASYNCHRONOUS
> DeleteMessageListener (PG, Cassandra) delete the blobs (using the blobstore
> so deletion is effective ONLY in duplicating mode) if
> MailboxBlobDeletionMode.SYNCHRONOUS
> Vault copy listener does the same: delete the blob WITH blobStore if and only
> if MailboxBlobDeletionMode.ASYNCHRONOUS.
> We'd need a Guice override on the vault module chooser for the default to be
> overriden.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]