-
Notifications
You must be signed in to change notification settings - Fork 423
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
* Avoid evicting ingester node from IngesterPool when facing or a transport error. Before when facing such error case, we were removing the faulty nodes from the pool, and Nn code path would re-add it to the ingester pool. The ingester pool is also used by the ingest source resulting in bug #4336. After this patch: When facing a transport error, we assume the targetted node is unreachable and chitchat has just not detected this just yet. In an ideal world we would inform chitchat about this, but it is a bit difficult to do codewise. Instead, we register the leader as unavailable for the span of the workbench. It will then react as if it was out of the pool for subsequent retries. A GetOrCreatedShard will carry the information that the node was unavailable, and the control plane will attempt to create a shard on a different node A timeout on the other hand is treated as a normal retryable error. Closes #4336 * Update quickwit/quickwit-ingest/src/ingest_v2/workbench.rs Co-authored-by: Adrien Guillo <[email protected]> * Rename ConnectionError->TransportError --------- Co-authored-by: Adrien Guillo <[email protected]>
- Loading branch information
1 parent
f78ffdf
commit b556868
Showing
8 changed files
with
207 additions
and
131 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
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.