7 Star 5 Fork 24

src-openEuler/kafka

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
0012-incorrectly-LeaderElectionCommand.patch 583 Bytes
一键复制 编辑 原始数据 按行查看 历史
diff --git a/core/src/main/scala/kafka/admin/LeaderElectionCommand.scala b/core/src/main/scala/kafka/admin/LeaderElectionCommand.scala
index 03737aa532..92edcad003 100644
--- a/core/src/main/scala/kafka/admin/LeaderElectionCommand.scala
+++ b/core/src/main/scala/kafka/admin/LeaderElectionCommand.scala
@@ -166,7 +166,7 @@ object LeaderElectionCommand extends Logging {
}
if (noop.nonEmpty) {
- val partitions = succeeded.mkString(", ")
+ val partitions = noop.mkString(", ")
println(s"Valid replica already elected for partitions $partitions")
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/kafka.git
git@gitee.com:src-openeuler/kafka.git
src-openeuler
kafka
kafka
master

搜索帮助