confluentinc / confluentinc/ksql
Improve "exhausted standby hosts to try" Error Message
- Dominant language
- Java
- Stars
- 315
- Forks
- 1k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 36
Description
Similarly to https://github.com/confluentinc/ksql/issues/7772, this error message is not super helpful to understand what's going on:
https://github.com/confluentinc/ksql/blob/1a1297ab59db0af416a924d4135b93dcc5003561/ksqldb-engine/src/main/java/io/confluent/ksql/physical/pull/HARouting.java#L244-L246
We should include more information to help expose what's going on, such as which partitions failed and which hosts were attempted.
Contributor guide
Research direction
Start with ksqldb-engine/src/main/java/io/confluent/ksql/physical/pull/HARouting.java at lines 244-246 and review the related discussion in issue 7772. Trace how failed partitions and attempted hosts are available when the error is assembled. Done means the exhausted-standby-hosts message exposes which partitions failed and which hosts were attempted.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java
- Domain
- stream-processing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100