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 "Tellier Benoit (JIRA)" <se...@james.apache.org> on 2017/05/30 08:52:04 UTC

[jira] [Resolved] (JAMES-2036) APPEND command asks for useless Metadata

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

Tellier Benoit resolved JAMES-2036.
-----------------------------------
    Resolution: Fixed

https://github.com/linagora/james-project/pull/813 solved the issue

> APPEND command asks for useless Metadata
> ----------------------------------------
>
>                 Key: JAMES-2036
>                 URL: https://issues.apache.org/jira/browse/JAMES-2036
>             Project: James Server
>          Issue Type: Bug
>            Reporter: Tellier Benoit
>
> APPEND commands checks the UID VALIDITY of the mailbox it has been APPENDing to. Too do so, it requires metadata from the mailbox.
> Unfortunately, it uses the NO_UNSEEN fetch group, which still include RECENTs and message count, generating two reads on the database.
> Note that it also generate more chances for failure.
> We should switch the fetch group to NO_COUNT, which is the minimum one (the generated metadata is not used in other places).



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org