Repository: kudu
Updated Branches:
  refs/heads/master 7a4caf966 -> 53e028798


Move TabletReplica::Stop() VLOG to end of function

Change-Id: Ic033acbe2f51d19203a7bb5fbbadcfee737ffe60
Reviewed-on: http://gerrit.cloudera.org:8080/11672
Tested-by: Kudu Jenkins
Reviewed-by: Andrew Wong <aw...@cloudera.com>
Reviewed-by: Alexey Serbin <aser...@cloudera.com>


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

Branch: refs/heads/master
Commit: 53e02879885ef2e1598549b5655f610f12810011
Parents: 7a4caf9
Author: Mike Percy <mpe...@apache.org>
Authored: Fri Oct 12 13:15:56 2018 -0700
Committer: Mike Percy <mpe...@apache.org>
Committed: Thu Oct 18 18:29:23 2018 +0000

----------------------------------------------------------------------
 src/kudu/tablet/tablet_replica.cc | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/53e02879/src/kudu/tablet/tablet_replica.cc
----------------------------------------------------------------------
diff --git a/src/kudu/tablet/tablet_replica.cc 
b/src/kudu/tablet/tablet_replica.cc
index 751f3aa..4175f5b 100644
--- a/src/kudu/tablet/tablet_replica.cc
+++ b/src/kudu/tablet/tablet_replica.cc
@@ -288,10 +288,6 @@ void TabletReplica::Stop() {
     WARN_NOT_OK(log_->Close(), "Error closing the Log.");
   }
 
-  if (VLOG_IS_ON(1)) {
-    VLOG(1) << "TabletReplica: tablet " << tablet_id() << " shut down!";
-  }
-
   if (tablet_) {
     tablet_->Shutdown();
   }
@@ -302,6 +298,8 @@ void TabletReplica::Stop() {
     tablet_.reset();
     set_state(STOPPED);
   }
+
+  VLOG(1) << "TabletReplica: tablet " << tablet_id() << " shut down!";
 }
 
 void TabletReplica::Shutdown() {

Reply via email to