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