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

Under certain conditions, $reindex attempts to index a deleted resource #2055

Closed
lmsurpre opened this issue Mar 11, 2021 · 1 comment
Closed
Assignees
Labels
bug Something isn't working P2 Priority 2 - Should Have

Comments

@lmsurpre
Copy link
Member

Describe the bug
After upgrading to 4.6.0, I invoked $reindex and got back a response similar to the following:

HTTP/2 200 
content-type: application/fhir+json
date: Wed, 10 Mar 2021 22:15:41 GMT
content-language: en-US
content-length: 189

{"resourceType":"OperationOutcome","issue":[{"severity":"warning","code":"not-found","diagnostics":"Failed to read resource: Observation/177febab121-84e989ff-17d5-4854-b151-0c482b2d3eb5"}]}

Upon further inspection, we found that this resource is actually deleted.

To Reproduce
Unknown

Expected behavior
The $reindex operation should not attempt to reindex a deleted resource.

Additional context
We've seen this on two separate occasions now, but the root cause needs investigation.

@lmsurpre lmsurpre added the bug Something isn't working label Mar 11, 2021
@lmsurpre lmsurpre added this to the Sprint 2021-04 milestone Mar 15, 2021
@lmsurpre lmsurpre added the P2 Priority 2 - Should Have label Mar 15, 2021
@lmsurpre
Copy link
Member Author

I've run a bunch of reindex commands since this fix went in, and have yet to see the issue again. Lets call it resolved.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P2 Priority 2 - Should Have
Projects
None yet
Development

No branches or pull requests

2 participants