hapifhir / hapi-fhir

🔥 HAPI FHIR - Java API for HL7 FHIR Clients and Servers
http://hapifhir.io
Apache License 2.0
1.94k stars 1.3k forks source link

Add support for running reindex job across resources in multiple partitions #6008

Open codeforgreen opened 2 weeks ago

codeforgreen commented 2 weeks ago

Describe the issue Add support for running reindex jobs across resources in multiple partitions. The solution should be easily extendable or reusable for other system bulk operations using batch2 jobs. Introduce an abstraction and an additional loop such that GenerateRangeChunksStep is able to read all partitions and generate chunks of resources for each of them.

Environment (please complete the following information):

Additional context Add any other context about the problem here.