You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kafka.apache.org by ij...@apache.org on 2019/01/19 04:56:09 UTC
[kafka] branch 2.1 updated: MINOR: Log partition info when creating
new request batch in controller (#6145)
This is an automated email from the ASF dual-hosted git repository.
ijuma pushed a commit to branch 2.1
in repository https://gitbox.apache.org/repos/asf/kafka.git
The following commit(s) were added to refs/heads/2.1 by this push:
new 93d29b9 MINOR: Log partition info when creating new request batch in controller (#6145)
93d29b9 is described below
commit 93d29b9059ad821edd2c83035b82adc7e9402de6
Author: Jacek Laskowski <ja...@japila.pl>
AuthorDate: Sat Jan 19 05:54:57 2019 +0100
MINOR: Log partition info when creating new request batch in controller (#6145)
Due to the missing `$`, the name was being logged instead of the value.
Reviewers: Ismael Juma <is...@juma.me.uk>
---
core/src/main/scala/kafka/controller/ControllerChannelManager.scala | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/src/main/scala/kafka/controller/ControllerChannelManager.scala b/core/src/main/scala/kafka/controller/ControllerChannelManager.scala
index 9ca54b3..c9c4313 100755
--- a/core/src/main/scala/kafka/controller/ControllerChannelManager.scala
+++ b/core/src/main/scala/kafka/controller/ControllerChannelManager.scala
@@ -319,7 +319,7 @@ class ControllerBrokerRequestBatch(controller: KafkaController, stateChangeLogge
if (updateMetadataRequestBrokerSet.nonEmpty)
throw new IllegalStateException("Controller to broker state change requests batch is not empty while creating a " +
s"new one. Some UpdateMetadata state changes to brokers $updateMetadataRequestBrokerSet with partition info " +
- s"updateMetadataRequestPartitionInfoMap might be lost ")
+ s"$updateMetadataRequestPartitionInfoMap might be lost ")
}
def clear() {