You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "Benoit Tellier (Jira)" <se...@james.apache.org> on 2021/05/21 03:15:00 UTC
[jira] [Created] (JAMES-3589) Matched mail resume processing from
root
Benoit Tellier created JAMES-3589:
-------------------------------------
Summary: 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 & MailRepository
Affects Versions: 3.5.0, 3.6.0
Reporter: Benoit Tellier
Fix For: 3.7.0, 3.6.1
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