james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Gautier DI FOLCO (JIRA)" <server-...@james.apache.org>
Subject [jira] [Commented] (JAMES-2757) rabbitmq MailQueueView.isPresent is never called
Date Thu, 09 May 2019 14:50:00 GMT

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

Gautier DI FOLCO commented on JAMES-2757:
-----------------------------------------

We had issues fixing it: [https://github.com/linagora/james-project/pull/2330]

> rabbitmq MailQueueView.isPresent is never called
> ------------------------------------------------
>
>                 Key: JAMES-2757
>                 URL: https://issues.apache.org/jira/browse/JAMES-2757
>             Project: James Server
>          Issue Type: Improvement
>          Components: Queue, rabbitmq
>            Reporter: Matthieu Baechler
>            Priority: Major
>
> As far as I know, the design of rabbitmq MailQueue is the following:
> On Enqueue:
> 1. put the raw message in a blobstore
> 2. put the reference to it into rabbitmq
> 3. put some metadata about it into cassandra
> On Delete:
> 1. use cassandra to browse messages in the queue and remove the ones that match the query
> On Dequeue:
> 1. take the next message from rabbit
> 2. check that the message is not deleted by calling cassandra MailQueueView.isPresent
> On browse:
> 1. use cassandra MailQueueView to list not yet deleted messages
> It looks like we don't check that the message is not deleted on dequeue.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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