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

Tellier Benoit resolved MAILBOX-349.
------------------------------------
       Resolution: Fixed
    Fix Version/s: 3.2.0

https://github.com/linagora/james-project/pull/1660 solved this.

> Maildir mailbox cache is not thread safe
> ----------------------------------------
>
>                 Key: MAILBOX-349
>                 URL: https://issues.apache.org/jira/browse/MAILBOX-349
>             Project: James Mailbox
>          Issue Type: Bug
>          Components: maildir
>            Reporter: Tellier Benoit
>            Priority: Major
>             Fix For: 3.2.0
>
>
> Maildir mailbox cache uses a non-thread-safe list, and concurrent mailbox 
> creation can fail even using the JVM path locker.
> Failing test: 
> DomainUserMaildirMailboxManagerTest>MailboxManagerTest.creatingConcurrentlyMailboxesWithSameParentShouldNotFail:988
>  ยป Execution
> Note that MailboxId computation is based on the cache size, thus is:
>  - non persistent (I don't attend to change this)
>  - Subject to data races: two mailboxes might have the same ID
>  - And a mailbox can be saved several time, thus generating several ids



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

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