Uploaded image for project: 'James Server'
  1. James Server
  2. JAMES-2037

Avoid reading messages when building UID <=> MSN mapping upon SELECT

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • IMAPServer
    • None

    Description

      SelectedMailboxImpl builds the UID <=> MSN mapping for later uses.

      Today, to do so, we read messages, and keep their UID.

      Needless to say, for some back-ends reading messages is an expensive operation requiring "soft joins" (Cassandra). We should offer a way to directly get an Iterator of UIDs in the mailbox.

      That would allow further optimizations, mostly on Cassandra implementations, avoid thousands of queries upon IMAP SELECT commands on large mailboxes.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: