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

Tellier Benoit updated MAILBOX-206:
-----------------------------------
    Attachment: MAILBOX-206-test-fails.patch

Here is a short test that fails and highlights the problem.

I will update the solving patch as soon as possible.

> Data races are possible while updating flags in Cassandra
> ---------------------------------------------------------
>
>                 Key: MAILBOX-206
>                 URL: https://issues.apache.org/jira/browse/MAILBOX-206
>             Project: James Mailbox
>          Issue Type: Bug
>            Reporter: Tellier Benoit
>         Attachments: MAILBOX-206-test-fails.patch
>
>
> The current code gets all the messages from Cassandra, then fetch these 
> messages, updates flag message by message.
> If flags are set concurently on different servers on the same malbox, a user 
> may overright changes made by the other.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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