resolve the bug of "/reindex/record API returns 500 when there is no not-found records"

fix the bug and add test cases to cover the scenario

Merge request reports

Loading