james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (MAILBOX-206) Data races are possible while updating flags in Cassandra
Date Tue, 20 Jan 2015 17:12:35 GMT

     [ 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


Mime
View raw message