You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by "René Cordier (Jira)" <se...@james.apache.org> on 2020/10/12 07:48:00 UTC
[jira] [Closed] (JAMES-3408) IMAP LIST should not query "mailbox
counters"
[ https://issues.apache.org/jira/browse/JAMES-3408?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
René Cordier closed JAMES-3408.
-------------------------------
Fix Version/s: 3.6.0
Resolution: Done
> IMAP LIST should not query "mailbox counters"
> ---------------------------------------------
>
> Key: JAMES-3408
> URL: https://issues.apache.org/jira/browse/JAMES-3408
> Project: James Server
> Issue Type: Improvement
> Components: IMAPServer, mailbox
> Reporter: Benoit Tellier
> Priority: Major
> Fix For: 3.6.0
>
> Attachments: 94106692-2212d400-fe66-11ea-96bd-2c43d7fefc8a.png
>
>
> This information is unused.
> Remove "mailbox counters" from `MailboxManager::search` MailboxMetdata POJO.
> JMAP-draft and JMAP-RFC8621 will need to rely on a brand new `mailboxManager.getMailboxCounters(ids)` calls as part of `Mailbox/get`.
> This is even more important to avoid paying the price of mailbox-counters read repairs upon IMAP LIST.
> = Definition of done
> Using glowroot on DEV (or locally on a distributed-james server), access your mailbox via IMAP and Thunderbird.
> Go in the IMAP LIST transaction, there should be no "mailbox counters" calls.
> = Diagnostic
> While looking at the Glowroot board:
> {code:java}
> Transaction type: IMAP
> Transaction name: IMAP processor : org.apache.james.imap.processor.ListProcessor
> Start: 2020-06-29 5:04:15.319 am (+07:00)
> Duration: 29,310.3 milliseconds
> {code}
> We saw that we have some IMAP list slow traces, mostly due to the (very) high count of mailboxes... (104)
> A closer look at executed queries shows around a third of the query time is spent retrieving mailbox counters. Which is not part of the IMAP list response.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org