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

4246 Avoid unnecessary percolator requests during Docket BankruptcyData and Parties ingestion #4262

Open
wants to merge 2 commits into
base: 612-recap-search-alerts-percolator
Choose a base branch
from

Conversation

albertisfu
Copy link
Contributor

This PR solves #4246 by adding a flag to the Docket before it is saved, so the percolation on the docket save signal is skipped.

The flag skip_percolator_request is used in processes that merge either BankruptcyData or Parties. If we know there are BankruptcyData or Parties to be merged in a subsequent step, the percolation on Docket save() is avoided and is only executed after BankruptcyData or Parties are ingested and indexed into ES.

An additional change is related to the merging of parties. I've changed the order in process that merge parties so that hey are merged and indexed before ingesting the Docket entries. This ensures that when the RECAPDocuments are percolated upon their creation or update, they have access to the updated Parties data, and alerts involving Parties and RECAPDocuments fields can be matched.

Fixes: #4246

@albertisfu albertisfu requested a review from mlissner July 30, 2024 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 👀 In review
Status: RECAP Alerts
Development

Successfully merging this pull request may close these issues.

1 participant