Previously GET /_miroir/indexes/{uid}/reshard/status returned hardcoded 0
for documents_backfilled and total_documents. This commit:
1. Adds documents_backfilled and total_documents fields to ReshardOperationState
2. Adds update_progress() method to ReshardingRegistry
3. Adds progress_callback to ReshardOrchestratorConfig
4. Updates the HTTP endpoint to return actual progress values
5. Updates all test cases to include the new fields
The progress_callback is invoked after backfill completes to update the
registry with the final document counts. The status endpoint now returns
real progress data instead of hardcoded zeros.
Closes: bf-22jkc
|
||
|---|---|---|
| .. | ||
| miroir-core | ||
| miroir-ctl | ||
| miroir-proxy | ||