Closed
Description
Describe the bug
A $delete-expunge operation on more than 10,000 resources with the same RES_UPDATED will only delete the first 10,000 resources.
To Reproduce
Steps to reproduce the behavior:
- start hapi-fhir backed by any database
- create 10,500 patients
update HFJ_RESOURCE set RES_UPDATED = '2023-07-09 19:34:45' where res_type = 'Patient';
select * from HFJ_RESOURCE where res_type = 'Patient'; be sure all values updated
- DELETE: http://localhost:8000/Patient?_expunge=true
Expected behavior
All 10,500 patients are gone from the DB and from a GET Patients query
Environment (please complete the following information):
- HAPI FHIR Version: 6_8
Metadata
Metadata
Assignees
Labels
No labels