This is an automated email from the ASF dual-hosted git repository.

alexey pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git


The following commit(s) were added to refs/heads/master by this push:
     new 06f2d5cb5 [catalog_manager] Fix substitute indexes in log messages
06f2d5cb5 is described below

commit 06f2d5cb5aaa8432865dc12a10069998a8f41b33
Author: Ádám Bakai <[email protected]>
AuthorDate: Thu Aug 24 13:11:21 2023 +0200

    [catalog_manager] Fix substitute indexes in log messages
    
    Change-Id: Ic2929f5c9c51e1792b3fcea811fc859c77a58405
    Reviewed-on: http://gerrit.cloudera.org:8080/20417
    Tested-by: Alexey Serbin <[email protected]>
    Reviewed-by: Alexey Serbin <[email protected]>
---
 src/kudu/master/catalog_manager.cc | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/kudu/master/catalog_manager.cc 
b/src/kudu/master/catalog_manager.cc
index e1cb03d3f..b2bfac5a5 100644
--- a/src/kudu/master/catalog_manager.cc
+++ b/src/kudu/master/catalog_manager.cc
@@ -5108,9 +5108,9 @@ bool AsyncAddReplicaTask::SendRequest(int attempt) {
           Partition::FromPB(tablet_partition, &partition);
         }
         range_key_start = partition.begin().range_key();
-        VLOG(1) << Substitute("range_key_start is set to $1", 
range_key_start.value());
+        VLOG(1) << Substitute("range_key_start is set to $0", 
range_key_start.value());
         table_id = tablet_->metadata().state().pb.table_id();
-        VLOG(1) << Substitute("table_id is set to $1", table_id.value());
+        VLOG(1) << Substitute("table_id is set to $0", table_id.value());
       }
     }
 
@@ -6185,9 +6185,9 @@ Status CatalogManager::SelectReplicasForTablet(const 
PlacementPolicy& policy,
       Partition::FromPB(tablet_partition, &partition);
     }
     range_key_start = partition.begin().range_key();
-    VLOG(1) << Substitute("range_key_start is set to $1", 
range_key_start.value());
+    VLOG(1) << Substitute("range_key_start is set to $0", 
range_key_start.value());
     table_id = tablet->metadata().state().pb.table_id();
-    VLOG(1) << Substitute("table_id is set to $1", table_id.value());
+    VLOG(1) << Substitute("table_id is set to $0", table_id.value());
   }
 
   // Select the set of replicas for the tablet.

Reply via email to