-
Notifications
You must be signed in to change notification settings - Fork 84
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sometime, when I open a mailbox, most entries are ommited #340
Comments
I just detected that issue on the ios app as well on my phone |
hi, I found a weird problem in Request
Response
Note: this mailbox is |
Maybe I am wrong in something? Please help me? I debugged all the day :) |
Ahah you got a james bug! Email/query relies on elasticSearch while Email/get relies on cassandra. Getting those two in sync can be an issue and you can have inconsistencies across the 2 data-stores. Now the indexing is done asynchronously which means that if two actions happens veeeery quickly (say read then move emails or vice versa) we can get into a data race in elasticsearch where we do the operation in the wrong order which could result into what you actually see. Moving emails to sent box does just that: mark as seen and move in one request. I got an idea of a fix. Basically the key problem is that we use a mutable id as an indexing key which results in poor, non transactional behaviour if indexing requests get reordered. Of course it demands significant redesign of ES layers... And might bring additional concerns! That will take time. In the mean time we might need the mobile app to account for this. Now I don't think it relates to the bug described here... neither me nor René pointed this out it in sent mailbox. |
Passed on CI platform. bandicam.2022-04-08.18-40-34-191.mp4 |
Description
mailto-2022-03-14_09.58.30.mp4
Opening my JIRA mailbox only showed me one old mail...
I had to set + unset a filter to force it displaying newest entries.
It's ok to do
Email/query
+Email/get
for the first time I open a mailbox.The text was updated successfully, but these errors were encountered: