-
Notifications
You must be signed in to change notification settings - Fork 14
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
Duplicate data in search #661
Comments
Is there any way to ensure only one instance runs this? @danieladugyan |
I think this could have been solved if we didn't generate ids when putting data in meilisearch, but instead use our primary keys from Prisma. But this haven't worked for me, since I think some of the ids we use for some tables aren't compatible with Meilisearch. Meilisearch likes uuids, but for Positions we use like |
Just confirmed this:
https://www.meilisearch.com/docs/learn/getting_started/primary_key#formatting-the-document-id |
Added a commit in #662 which should solve this temporarily, but ideally it should be run on only one instance. |
Maybe something like this could solve this issue? |
Description
I think this is because the daily sync is run in each instance at the same time (eg. 4 instances in the screenshot)
Steps to reproduce
No response
Further information
No response
The text was updated successfully, but these errors were encountered: