Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix race between index population job and index map update
Previously IndexingService on index creation was starting index population job inside function that was doing index map state update. And in cases when job were started before map state update was finished the job will miss any updates to index map that was caused by index create request that actually created that particular population job execution. This PR changes that behaviour and will start job population, if required, after index state map update.
- Loading branch information
1 parent
12fd2b9
commit c91ea5e
Showing
2 changed files
with
73 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters