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/13 12:30:00 UTC
[jira] [Created] (JAMES-3780) ExpireMailboxTask should support large number of users
Karsten Otto created JAMES-3780:
-----------------------------------
Summary: 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
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