linagora / james-project

Mirror of Apache James Project
Apache License 2.0
72 stars 62 forks source link

Concurrency between indexing a new message and mailbox deletion #5123

Closed chibenwa closed 6 months ago

chibenwa commented 6 months ago

If trying to index an email of an already deleted mailbox, James keeps on failing:

Exception happens when handling event after 8 retries
org.apache.james.mailbox.exception.MailboxNotFoundException: 414ffe90-e06e-11ee-ba03-a19cd6454827 can not be found at org.apache.james.mailbox.cassandra.mail.CassandraMailboxMapper.lambda$findMailboxById$5(CassandraMailboxMapper.java:173)

image

We can IMO safely skip this...

chibenwa commented 6 months ago

https://github.com/apache/james-project/pull/2113