Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Add delta file to fix missing default table data #6555

Merged
merged 4 commits into from
Dec 18, 2019

Conversation

anoadragon453
Copy link
Member

Fixes #6311

The above issue came about because we missed an INSERT statement when making the 56 full schema. Synapse expected that row to exist, and had an UPDATE statement for it. When we missed the INSERT, the UPDATE just failed silently.

#6363 fixed it by doing some INSERT/UPDATE stuff in python, but it's not efficient and is prone to race conditions. This PR reverts that commit, and instead just adds another delta file, which is a cleaner fix.

Reverts #6363

@anoadragon453 anoadragon453 requested a review from a team December 16, 2019 14:24
@anoadragon453 anoadragon453 self-assigned this Dec 16, 2019
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@anoadragon453 anoadragon453 merged commit 7963ca8 into develop Dec 18, 2019
@anoadragon453 anoadragon453 deleted the anoa/device_delta branch December 18, 2019 11:13
babolivier pushed a commit that referenced this pull request Sep 1, 2021
* commit '7963ca83c':
  Add delta file to fix missing default table data (#6555)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants