Uploaded image for project: 'James Mailbox'
  1. James Mailbox
  2. MAILBOX-393

MailboxManager::deleteMailbox by mailboxId

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 3.5.0
    • api
    • None

    Description

      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:

      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 (!!!)
      

      Attachments

        Activity

          People

            Unassigned Unassigned
            btellier Benoit Tellier
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: