This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Investigate SQL calls that expect a row to already exist #6381
Labels
z-bug
(Deprecated Label)
Comments
Actually grep'ing through things there may be a lot to fix:
|
@anoadragon453 what is left to be done here? |
I did an investigation and it seemed only device_ids were missing here. In any case the new way to generate full schemas should catch any future missing insert statements. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
#6311 was found as a result of an
UDPATE
call expecting a row to already exist in Synapse's database. While this row was created in a delta file, when we squished everything into a full_schema, the INSERT got lost.All
UPDATE
statements that expect a row to already exist in a table in the DB should be checked, starting withappservice_stream
. Starting by looking at the DB tables rather than the codebase may be easiest.The text was updated successfully, but these errors were encountered: