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 "Karsten Otto (Jira)" <se...@james.apache.org> on 2022/06/16 15:02:00 UTC
[jira] [Resolved] (JAMES-3780) ExpireMailboxTask should support large number of users
[ https://issues.apache.org/jira/browse/JAMES-3780?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Karsten Otto resolved JAMES-3780.
---------------------------------
Resolution: Fixed
> ExpireMailboxTask should support large number of users
> ------------------------------------------------------
>
> Key: JAMES-3780
> URL: https://issues.apache.org/jira/browse/JAMES-3780
> Project: James Server
> Issue Type: Bug
> Components: mailbox, webadmin
> Affects Versions: master
> Reporter: Karsten Otto
> Priority: Major
> Time Spent: 40m
> Remaining Estimate: 0h
>
> Deleting old messages via the ExpireMailboxTask fails with the dreaded
> {code:java}
> java.lang.IllegalStateException: Iterating over a toIterable() / toStream() is blocking, which is not supported in thread parallel-2
> {code}
>
> Observed on Cassandra implementation with ~400 users.
> This is caused by the user list being a BlockingIterable; for a small number of users this will not occur, but for a larger number it blocks to retrieve another "chunk" of user names.
--
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