[ 
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-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to