-
Notifications
You must be signed in to change notification settings - Fork 393
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
bug(replicator): error: insert or update on table "messages" violates foreign key constraint "messages_fid_foreign" #1755
Comments
I would say that if constraints are not respected, something odd happened. Removing constraint just remove control of data integrity. I resynced from scratch my db. I still have theses errors about constraints. looking at this constraint:
It means that every message should have a corresponding fid in the fids table. |
Indeed, I still experience same issue 3rd time (syncing from scratch as well) and agree that the linked issues provide rather a workaround and do not solve the actual problem. |
One of the reasons we have some inconsistencies can be #1809 |
Calling out that this comment might help shed some light on what is being observed here. Appreciate your patience as we work through identifying a path forward. |
Closing as we recommend using the Shuttle project instead of the old replicator (which has multiple issues). |
What is the bug?
I have a lot of logs with foreign key contraint errors.
If this is not an error, it would be nice to not show them as error.
How can it be reproduced? (optional)
Fresh replicator sync
Hubble version: 1.10.5 (latest)
replicator version: 0.3.2 (latest)
Delayed queue has 17798 entries
Additional context (optional)
Here are some logs (I extracted between 08:47:24.544 and 09:02:33.491 UTC time). Unicode are already in issue #1753
Here is a sample:
The text was updated successfully, but these errors were encountered: