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: [email protected]
For additional commands, e-mail: [email protected]