You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by al...@apache.org on 2017/11/21 01:08:26 UTC

kudu git commit: tablet_copy_service: fix Status message with misplaced $0

Repository: kudu
Updated Branches:
  refs/heads/master f9d85f53b -> a4642a41e


tablet_copy_service: fix Status message with misplaced $0

Change-Id: I0443d58f32b306a0d59dd76fa901ad384ceac6e0
Reviewed-on: http://gerrit.cloudera.org:8080/8598
Reviewed-by: Alexey Serbin <as...@cloudera.com>
Tested-by: Kudu Jenkins


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/a4642a41
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/a4642a41
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/a4642a41

Branch: refs/heads/master
Commit: a4642a41e5db7a7a887b39c1cb661a6de1dca47e
Parents: f9d85f5
Author: Todd Lipcon <to...@apache.org>
Authored: Mon Nov 20 10:50:54 2017 -0800
Committer: Alexey Serbin <as...@cloudera.com>
Committed: Tue Nov 21 01:07:35 2017 +0000

----------------------------------------------------------------------
 src/kudu/tserver/tablet_copy_service.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/a4642a41/src/kudu/tserver/tablet_copy_service.cc
----------------------------------------------------------------------
diff --git a/src/kudu/tserver/tablet_copy_service.cc b/src/kudu/tserver/tablet_copy_service.cc
index 6cfb9e7..2d10eb7 100644
--- a/src/kudu/tserver/tablet_copy_service.cc
+++ b/src/kudu/tserver/tablet_copy_service.cc
@@ -170,8 +170,8 @@ void TabletCopyServiceImpl::BeginTabletCopySession(
 
   if (!new_session && !session->IsInitialized()) {
     RPC_RETURN_NOT_OK(
-        Status::ServiceUnavailable("tablet copy session for tablet $0 is initializing",
-                                   tablet_id),
+        Status::ServiceUnavailable(
+            Substitute("tablet copy session for tablet $0 is initializing", tablet_id)),
         TabletCopyErrorPB::UNKNOWN_ERROR,
         "try again later",
         context);