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

Revert using materialized view in search sync #1737

Merged
merged 1 commit into from
Oct 20, 2023

Conversation

sausage-todd
Copy link
Contributor

@sausage-todd sausage-todd commented Oct 20, 2023

Changes proposed ✍️

What

🤖 Generated by Copilot at ca36731

Improved the search sync worker by querying the activities table directly instead of the mv_activities_cube materialized view. This fixed the issue of outdated and inaccurate data in the Elasticsearch index for organizations.

🤖 Generated by Copilot at ca36731

activities table
faster and more accurate
than old view - cut

Why

How

🤖 Generated by Copilot at ca36731

  • Improve search sync worker performance and accuracy by querying activities table instead of materialized view (link)

Checklist ✅

  • Label appropriately with Feature, Improvement, or Bug.
  • Add screenshots to the PR description for relevant FE changes
  • New backend functionality has been unit-tested.
  • API documentation has been updated (if necessary) (see docs on API documentation).
  • Quality standards are met.

@sausage-todd sausage-todd merged commit 98b2036 into main Oct 20, 2023
9 checks passed
@sausage-todd sausage-todd deleted the revert-search-sync-worker-mv branch October 20, 2023 08:14
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.

None yet

2 participants