microsoft / fhir-server

A service that implements the FHIR standard
MIT License
1.21k stars 518 forks source link

Allow reindex with unlimited empty pages #4663

Closed mikaelweave closed 1 month ago

mikaelweave commented 1 month ago

Description

Removes artificial limitation of reindex where there is large historical datasets or customer wants limited query size.

Customer has tested my reindex fix from the last release and it's not quite right. It doesn't allow for many sequential historical/deleted resources with default query size. The reindex still says completed incorrectly in this case. This change adds an outer loop to continue getting surrogate ranges until there is one w/ data.

Related issues

AB#124883

FHIR Team Checklist

Semver Change (docs)

Patch|Skip|Feature|Breaking (reason)

mikaelweave commented 1 month ago

/azp run

azure-pipelines[bot] commented 1 month ago
Azure Pipelines successfully started running 1 pipeline(s).
mikaelweave commented 1 month ago

/azp run

azure-pipelines[bot] commented 1 month ago
Azure Pipelines successfully started running 1 pipeline(s).
mikaelweave commented 1 month ago

/azp run

azure-pipelines[bot] commented 1 month ago
Azure Pipelines successfully started running 1 pipeline(s).
mikaelweave commented 1 month ago

/azp run

azure-pipelines[bot] commented 1 month ago
Azure Pipelines successfully started running 1 pipeline(s).