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

Benoit Tellier closed MAILBOX-393.
----------------------------------
    Fix Version/s: 3.5.0
       Resolution: Fixed

> MailboxManager::deleteMailbox by mailboxId
> ------------------------------------------
>
>                 Key: MAILBOX-393
>                 URL: https://issues.apache.org/jira/browse/MAILBOX-393
>             Project: James Mailbox
>          Issue Type: Improvement
>          Components: api
>            Reporter: Benoit Tellier
>            Priority: Major
>             Fix For: 3.5.0
>
>
> Currently we can only delete a mailbox by it's mailboxPath.
> MailboxPath is mutable as a mailbox can be renamed.
> Mutable identifiers are bad, and thus race conditions can arise upon mailbox 
> deletion:
> {code:java}
> Given a mailboxId
> I read the corresponding mailboxPath
> and a concurrent session renames the mailbox (switch name) after my read
> When I delete the mailbox using the previously read path
> Then I bloew up the wrong mailbox (!!!)
> {code}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to