You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by gr...@apache.org on 2019/02/16 22:16:20 UTC
[kudu] 04/05: [rebalancer] fix LOG() misprint in rebalancer
This is an automated email from the ASF dual-hosted git repository.
granthenke pushed a commit to branch branch-1.9.x
in repository https://gitbox.apache.org/repos/asf/kudu.git
commit b3df25cc66213723692a9aa7ba7c54288c2e3f43
Author: Yingchun Lai <40...@qq.com>
AuthorDate: Tue Feb 12 10:50:54 2019 +0800
[rebalancer] fix LOG() misprint in rebalancer
Fix misprint of table name and table id.
This changelist does not contain any functional modifications.
Change-Id: Id58029e11adc06b556821eac56a3ee19d873efb7
Reviewed-on: http://gerrit.cloudera.org:8080/12453
Reviewed-by: Todd Lipcon <to...@apache.org>
Tested-by: Todd Lipcon <to...@apache.org>
(cherry picked from commit 5f3470a77aba10d8c784405bda987a01d6b33035)
Reviewed-on: http://gerrit.cloudera.org:8080/12511
Reviewed-by: Andrew Wong <aw...@cloudera.com>
Tested-by: Kudu Jenkins
---
src/kudu/tools/rebalancer.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/kudu/tools/rebalancer.cc b/src/kudu/tools/rebalancer.cc
index a1548b4..4291806 100644
--- a/src/kudu/tools/rebalancer.cc
+++ b/src/kudu/tools/rebalancer.cc
@@ -741,7 +741,7 @@ Status Rebalancer::BuildClusterInfo(const ClusterRawInfo& raw_info,
for (const auto& tablet : raw_info.tablet_summaries) {
if (!config_.move_rf1_replicas) {
if (rf1_tables.find(tablet.table_id) != rf1_tables.end()) {
- LOG(INFO) << Substitute("tablet $0 of table '$0' ($1) has single replica, skipping",
+ LOG(INFO) << Substitute("tablet $0 of table '$1' ($2) has single replica, skipping",
tablet.id, tablet.table_name, tablet.table_id);
continue;
}