kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ale...@apache.org
Subject [3/3] kudu git commit: [tablet_service] remove useless call
Date Fri, 09 Mar 2018 22:38:21 GMT
[tablet_service] remove useless call

Removed useless call of TabletReplica::permanent_uuid()
in ConsensusServiceImpl::UpdateConsensus().

Change-Id: I3869b423a7a8f32b64201ec83d8ad4d61e2ee9f6
Reviewed-on: http://gerrit.cloudera.org:8080/9324
Reviewed-by: Mike Percy <mpercy@apache.org>
Tested-by: Kudu Jenkins
(cherry picked from commit 0396cca5bd7e2ba6b038813ed70fd82c707d9861)
Reviewed-on: http://gerrit.cloudera.org:8080/9550
Reviewed-by: Todd Lipcon <todd@apache.org>


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

Branch: refs/heads/branch-1.6.x
Commit: 3aa9331918c51a0447b229a16d01d4455dd5e799
Parents: c1fd2bc
Author: Alexey Serbin <aserbin@cloudera.com>
Authored: Wed Feb 14 14:09:39 2018 -0800
Committer: Alexey Serbin <aserbin@cloudera.com>
Committed: Fri Mar 9 20:06:04 2018 +0000

----------------------------------------------------------------------
 src/kudu/tserver/tablet_service.cc | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/3aa93319/src/kudu/tserver/tablet_service.cc
----------------------------------------------------------------------
diff --git a/src/kudu/tserver/tablet_service.cc b/src/kudu/tserver/tablet_service.cc
index dc89823..9d47465 100644
--- a/src/kudu/tserver/tablet_service.cc
+++ b/src/kudu/tserver/tablet_service.cc
@@ -934,8 +934,6 @@ void ConsensusServiceImpl::UpdateConsensus(const ConsensusRequestPB* req,
     return;
   }
 
-  replica->permanent_uuid();
-
   // Submit the update directly to the TabletReplica's RaftConsensus instance.
   shared_ptr<RaftConsensus> consensus;
   if (!GetConsensusOrRespond(replica, resp, context, &consensus)) return;


Mime
View raw message