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

NotFoundError: During updating of a single RECAPDocument in ES. #3986

Open
sentry-io bot opened this issue Apr 18, 2024 · 0 comments
Open

NotFoundError: During updating of a single RECAPDocument in ES. #3986

sentry-io bot opened this issue Apr 18, 2024 · 0 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Apr 18, 2024

This issue has occurred once so far and seems ok. Perhaps we could just catch the error and log a warning to avoid sending it to Sentry.

I reviewed it, and the RECAPDocument had indeed been removed from the database.

It happened during the upload of an HTML report:
https://www.courtlistener.com/admin/recap/processingqueue/13228143

What likely occurred is that the RECAPDocument was duplicated, and the duplicate was removed during the add_docket_entries process. What is strange is that the RECAPDocument was updated and immediately removed, possibly due to a race condition or something similar.

So far the entry now looks correct and properly indexed in ES:
https://www.courtlistener.com/admin/search/docketentry/668089/change/

Sentry Issue: COURTLISTENER-6AB

NotFoundError: document_missing_exception
(2 additional frame(s) were not displayed)
...
  File "cl/search/tasks.py", line 535, in update_es_document
    Document.update(

Filed by: @albertisfu

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

No branches or pull requests

0 participants