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

Compare document data between Algolia and PostgreSQL #341

Merged
merged 4 commits into from
Sep 21, 2023

Conversation

jfreda
Copy link
Collaborator

@jfreda jfreda commented Sep 20, 2023

To prepare for the database being the source of truth for all document data, this PR adds logic to compare document data between Algolia and PostgreSQL. The data is compared at the end of all document/draft APIs (besides deleting a draft when the data is deleted), and a warning is logged containing all inconsistent data.

@jfreda jfreda requested a review from a team as a code owner September 20, 2023 22:10
@jfreda jfreda merged commit a60633f into main Sep 21, 2023
1 check passed
@jfreda jfreda deleted the jfreda/compare-data branch September 21, 2023 21:01
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