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 "Benoit Tellier (Jira)" <se...@james.apache.org> on 2022/05/05 04:03:00 UTC
[jira] [Commented] (JAMES-2791) Incoherent mail repository count
[ https://issues.apache.org/jira/browse/JAMES-2791?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17532029#comment-17532029 ]
Benoit Tellier commented on JAMES-2791:
---------------------------------------
IMO this table can be dropped. Counting keys will definitly be fast enough (~100ms for million mails) and will not be subject to inconsistencies.
> Incoherent mail repository count
> --------------------------------
>
> Key: JAMES-2791
> URL: https://issues.apache.org/jira/browse/JAMES-2791
> Project: James Server
> Issue Type: Bug
> Reporter: Trần Tiến Đức
> Priority: Major
>
> {code:java}
> # c -XGET "http://localhost:8000/mailRepositories/var%2Fmail%2Ferror%2F"
> {"repository":"var/mail/error/","size":-1,"path":"var%2Fmail%2Ferror%2F"}
> {code}
> Expecting the size always >= 0.
--
This message was sent by Atlassian Jira
(v8.20.7#820007)
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org