Skip to content
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

fix ImportMailState CREATE event not updating the search indexer #8372

Merged
merged 1 commit into from
Jan 24, 2025

Conversation

abdulkadir-tutao
Copy link
Contributor

After importing mails on the desktop client, those mails were not indexed properly due to missing of the CREATE entity event. This is due to the optimization of EntityEvents (CREATE + UPDATE = CREATE). Previously, the mails were only indexed on ImportMailState UPDATE events in the MailIndexer, This led to a corrupted state where the imported mails are never indexed properly and required the deletion of the offline cache. This fix ensures that the mails are indexed properly.

After importing mails on the desktop client, those mails were not
indexed properly due to missing of the CREATE entity event. This is due
to the optimization of EntityEvents (CREATE + UPDATE = CREATE).
Previously, the mails were only indexed on ImportMailState UPDATE events
in the MailIndexer, This led to a corrupted state where the imported
mails are never indexed properly and required the deletion of the
offline cache. This fix ensures that the mails are indexed properly.

Co-authored-by: map <[email protected]>
@abdulkadir-tutao abdulkadir-tutao merged commit 04b5a5e into master Jan 24, 2025
5 checks passed
@abdulkadir-tutao abdulkadir-tutao deleted the fix-search-index branch January 24, 2025 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant