KRaft: a new controller can bootstrap against itself and never join the quorum
I maintainer di solito rispondono entro 1 giorno
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Description
A controller that starts without metadata (a new pod, e.g. after scaling up a controller role group) finds the quorum leader through controller.quorum.bootstrap.servers. Outside Kerberos, that list has one entry per controller role group: the role group's headless Service. That Service sets publishNotReadyAddresses: true, so the name also resolves to the starting pod's own IP.
Kafka treats each entry in controller.quorum.bootstrap.servers as one bootstrap node and resolves its name when it connects. If the starting pod's lookup returns its own IP, the connection succeeds, so Kafka never tries another address. The pod asks itself for the leader, gets no answer, and repeats this forever.
This is a race in the quorum management added in #1010.
Symptoms
- The new controller stays in Raft state
unattached(epoch 0) and never becomes an observer. The quorum's replication status doesn't list it at all. - Its
quorum-managersidecar logsLocal Raft state is 'unattached', nothing to doindefinitely, so it never callsadd-controller. - The
kafkacontainer never becomes ready, and the StatefulSet rollout stalls. Because the StatefulSet usesOrderedReady, later replicas are not created either. - The pod's only connections on the controller port go to its own IP.
- Deleting the pod usually clears it: the replacement resolves another IP and joins normally.
- Lingua principale
- Rust
- Stelle
- 31
- Fork
- 9
- Merge medio
- 4g 5h
- PR unite (30g)
- 14
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Nessuna guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di stackabletech/kafka-operator
-
Use mTLS instead of Kerberos for KRaft inter-node trafficForse già presa @razvan l’ha presa 1 giorno fa. Apertatype/internal-improvement
stackabletech/kafka-operator#1066 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
KRaft: adding a controller role group can bootstrap a second quorumForse già presa @razvan l’ha presa 1 giorno fa. Apertatype/bug
stackabletech/kafka-operator#1060 · 1 assegnatario ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 30/100
stackabletech/kafka-operator#1059 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
stackabletech/kafka-operator#1058 ·
I maintainer di solito rispondono entro 1 giorno
-
type/bug
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
stackabletech/kafka-operator#955 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di stackabletech/kafka-operator
Issue simili
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
storytold/photocraft#14822 ·
I maintainer di solito rispondono entro 1 giorno
-
bug css
Difficoltà 2/5 1-3 ore Idoneità per principianti 66/100
dginev/latexml-oxide#853 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 2 giorni
-
[Bug] export_build_environment admits its output directory only after the export ran in the build computerForse già presa @viniciusdsandrade l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno