[ 
https://issues.apache.org/jira/browse/JAMES-3129?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Benoit Tellier closed JAMES-3129.
---------------------------------
    Resolution: Fixed

Contributed

> Race condition upon flag update for message sent via JMAP
> ---------------------------------------------------------
>
>                 Key: JAMES-3129
>                 URL: https://issues.apache.org/jira/browse/JAMES-3129
>             Project: James Server
>          Issue Type: New Feature
>          Components: JMAP, MailStore & MailRepository, Queue
>            Reporter: Benoit Tellier
>            Assignee: Antoine Duprat
>            Priority: Major
>             Fix For: 3.5.0
>
>
> https://github.com/linagora/james-project/pull/3242/commits/62bab3269ceef65c1741fbbf243e5c109307ad8c
>  highlighted a race condition when sending a mail via JMAP.
> Cause: the mail is processedn, and marked for outgoing delivery.
> It is reenqueued, and appended to outgoing queue.
> The post dequeue decorator, moving JMAP mails from outbox to sent is applied 
> to times, leading eventualy to invalid results and race condition.
> Proposed fix: only apply post dequeue decorator to "spool"



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

---------------------------------------------------------------------
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