Uploaded image for project: 'James Imap'
  1. James Imap
  2. IMAP-141

Refactor the store api to provide a generic / thread safe reserveNextUid() implementation

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Won't Fix
    • None
    • 0.1
    • Mailbox
    • None

    Description

      At the moment the reserveNextUid() method in StoreMailbox is abstract and need to get implemented by every Implementation. I think we should try to provide a "generic" implementation which could be used by every implementation. This method needs to be "thread-safe" and need to make sure that the uid consuming is a atomic operation so that no "ghost reads" can happen.

      Attachments

        Activity

          People

            Unassigned Unassigned
            norman Norman Maurer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: