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 "René Cordier (Jira)" <se...@james.apache.org> on 2022/03/10 08:39:00 UTC

[jira] [Resolved] (JAMES-3721) Browse on the Pulsar mailqueue fails with ObjectNotFoundException

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

René Cordier resolved JAMES-3721.
---------------------------------
    Fix Version/s: 3.7.0
       Resolution: Fixed

> Browse on the Pulsar mailqueue fails with ObjectNotFoundException
> -----------------------------------------------------------------
>
>                 Key: JAMES-3721
>                 URL: https://issues.apache.org/jira/browse/JAMES-3721
>             Project: James Server
>          Issue Type: Bug
>          Components: pulsar, Queue
>            Reporter: Jean Helou
>            Priority: Major
>              Labels: Pulsar
>             Fix For: 3.7.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> We have identified a couple interrelated issues around the [puslar mailqueue|https://issues.apache.org/jira/browse/JAMES-3695] :
> Upon acknowledging a message, the corresponding mime message was not removed from the blob store.
> Upon fixing that issue (and adding the corresponding verification), we started getting more failures on the browse (the failures could also be observed on the remove).
>  
> Because of how pulsar works and because we allow parallel processing of messages, the browse operation can end up reading meta data of messages that have been removed or acknowledged. The metadata of acknowledged messages is not immediately  purged from pulsar. It is somewhat configurable but for a normally operating cluster acked messages can [remain readable for hours|https://pulsar.apache.org/docs/en/cookbooks-retention-expiry/#delete-messages-from-namespaces] (and forcing that to the order of seconds would badly affect the cluster operation)
>  
> We chose to catch the specific exception and simply ignore the corresponding mails during the browse operation.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

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