KRaft: a new controller can bootstrap against itself and never join the quorum
Maintainer thường phản hồi trong vòng 1 ngày
Đánh giá
Issue này chưa được đánh giá.
Mô tả
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.
- Ngôn ngữ chính
- Rust
- Star
- 31
- Fork
- 9
- Merge trung bình
- 4 ngày 5 giờ
- Pull request đã merge (30 ngày)
- 14
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của stackabletech/kafka-operator
-
Use mTLS instead of Kerberos for KRaft inter-node trafficCó thể đã có người làm @razvan đã nhận 1 ngày trước. Đang mởtype/internal-improvement
stackabletech/kafka-operator#1066 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
KRaft: adding a controller role group can bootstrap a second quorumCó thể đã có người làm @razvan đã nhận 1 ngày trước. Đang mởtype/bug
stackabletech/kafka-operator#1060 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 30/100
stackabletech/kafka-operator#1059 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
stackabletech/kafka-operator#1058 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
type/bug
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
stackabletech/kafka-operator#955 · 1 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của stackabletech/kafka-operator
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
storytold/photocraft#14822 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug css
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 66/100
dginev/latexml-oxide#853 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 2 ngày
-
[Bug] export_build_environment admits its output directory only after the export ran in the build computerCó thể đã có người làm @viniciusdsandrade đã nhận hôm nay. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày