james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Tellier (Jira)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-3589) Matched mail resume processing from root
Date Sat, 22 May 2021 06:29:00 GMT

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

Benoit Tellier commented on JAMES-3589:
---------------------------------------

Mailing list thread https://www.mail-archive.com/server-dev@james.apache.org/msg70340.html

> Matched mail resume processing from root
> ----------------------------------------
>
>                 Key: JAMES-3589
>                 URL: https://issues.apache.org/jira/browse/JAMES-3589
>             Project: James Server
>          Issue Type: Bug
>          Components: MailStore &amp; MailRepository
>    Affects Versions: 3.5.0, 3.6.0
>            Reporter: Benoit Tellier
>            Priority: Major
>             Fix For: 3.7.0, 3.6.1
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> h3. What
> One of my customer reported me that a side effect was done two time upon MailetContainer
execution.
> What was not my surprise when writing integration tests counting executions, that they
were right!
> Tracking down the bug, I encountered that `MailImpl.duplicate` do not preserve state,
hence processing resumes from ROOT processor (leaving the exchange).
> h3. The fix
> MatcherSplitter should preserve the state of the matched mail.
> h3. The complications
> Preserving several mails on the same exchange, we should not shut the exchange down before
processing is finished. Doing so would result in following  I did set up reference counting
for this.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

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


Mime
View raw message