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 "Tellier Benoit (JIRA)" <ji...@apache.org> on 2015/01/20 18:12:35 UTC
[jira] [Updated] (MAILBOX-206) Data races are possible while
updating flags in Cassandra
[ 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-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org