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

feat(reindex): align ongoing indexing for new database structure #653

Merged
merged 33 commits into from
Sep 11, 2024

Conversation

psmagin
Copy link
Contributor

@psmagin psmagin commented Sep 3, 2024

Purpose

Align ongoing indexing for new database structure

Approach

The existing event model sends CREATE/UPDATE/DELETE events that are applied directly to search indexes. The goal of this ticket is to create/update/delete related records in Postgres tables and only then upload merged documents into a search index.

Changes Checklist

  • API Changes: Document any API paths, methods, request or response bodies changed, added, or removed.
  • Database Schema Changes: Indicate any database schema changes and their impact. Confirm that migration scripts were created.
  • Interface Version Changes: Indicate any changes to interface versions.
  • Interface Dependencies: Document added or removed dependencies.
  • Permissions: Document any changes to permissions.
  • Logging: Confirm that logging is appropriately handled.
  • Unit Testing: Confirm that changed classes were covered by unit tests.
  • Integration Testing: Confirm that changed logic was covered by integration tests.
  • Manual Testing: Confirm that changes were tested on local or dev environment.
  • NEWS: Confirm that the NEWS file is updated with relevant information about the changes made in this pull request.

Related Issues

MSEARCH-XXX

@psmagin psmagin changed the base branch from master to feature/reindex-v2 September 3, 2024 19:28
@psmagin psmagin changed the title Msearch 821 n feat(reindex): align ongoing indexing for new database structure Sep 10, 2024
@psmagin psmagin self-assigned this Sep 10, 2024
@psmagin psmagin marked this pull request as ready for review September 10, 2024 17:21
@psmagin psmagin requested a review from a team as a code owner September 10, 2024 17:21
@psmagin psmagin requested review from viacheslavkol, mukhiddin-yusuf and SvitlanaKovalova1 and removed request for a team September 10, 2024 17:21
Copy link

sonarcloud bot commented Sep 11, 2024

@psmagin psmagin merged commit f2ab860 into feature/reindex-v2 Sep 11, 2024
4 checks passed
@psmagin psmagin deleted the MSEARCH-821-n branch September 11, 2024 14:11
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