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

chore: Overwrite records on data-sync conflict #2332

Merged
merged 1 commit into from
Oct 19, 2023

Conversation

DafyddLlyr
Copy link
Contributor

@DafyddLlyr DafyddLlyr commented Oct 19, 2023

See context on OSL Slack - https://opensystemslab.slack.com/archives/C01E3AC0C03/p1696942132535689

Currently, we don't overwrite DB records on conflict - we skip them. This can lead to inconsistencies (as on the above thread), could potentially lead to permissions diverging between staging and prod, and also causes this new issue raised here where the prod boundary has not been copied across to staging - https://trello.com/c/hreL5mn4/2665-site-doesnt-have-address-showing-london-map-extract-on-bucks-service

@DafyddLlyr DafyddLlyr requested a review from a team October 19, 2023 10:27
@DafyddLlyr
Copy link
Contributor Author

@github-actions
Copy link

github-actions bot commented Oct 19, 2023

Removed vultr server and associated DNS entries

Copy link
Member

@jessicamcinchak jessicamcinchak left a comment

Choose a reason for hiding this comment

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

Thanks for picking this one up!

@DafyddLlyr DafyddLlyr merged commit 81d402f into main Oct 19, 2023
12 checks passed
@DafyddLlyr DafyddLlyr deleted the dp/update-sync-on-conflict branch October 19, 2023 14:35
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.

2 participants