-
Notifications
You must be signed in to change notification settings - Fork 205
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Parallel Indexer initialization issue [DPP-542] (#10889)
RCA: if at parallel indexer initialization some error happening, then a promise never completes, which causes an initialization future never complete Expected: failure should be propagated, and recovering indexer should retry 10 seconds later Actual: failure not propagated, a zombie future freezes initialization, preventing retries Impact: this is a corner case - if no problems at indexer initialization, the issues is not surfacing * Extracts critical logic into helper function initializeHandle * Adds unit tests for initializeHandle * Fixes issue by completing the promise in all cases CHANGELOG_BEGIN CHANGELOG_END
- Loading branch information
1 parent
b3e4975
commit 0c32e3b
Showing
2 changed files
with
381 additions
and
45 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
Oops, something went wrong.