kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ale...@apache.org
Subject [1/2] kudu git commit: log_cache: fix MemTracker name
Date Thu, 11 Oct 2018 18:15:43 GMT
Repository: kudu
Updated Branches:
  refs/heads/master 66b0a4cca -> c8dd7b53f


log_cache: fix MemTracker name

This caused all of the MemTracker ids in the web ui to show up as
"log_cache::".

Change-Id: I9d482c9e242b271bd8e6a33ad4090cbdeafc1c63
Reviewed-on: http://gerrit.cloudera.org:8080/11654
Tested-by: Kudu Jenkins
Reviewed-by: Will Berkeley <wdberkeley@gmail.com>


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

Branch: refs/heads/master
Commit: 3ff47118da7cae08fefb4ddf951e811f6725b80f
Parents: 66b0a4c
Author: Andrew Wong <awong@cloudera.com>
Authored: Wed Oct 10 23:09:44 2018 -0700
Committer: Andrew Wong <awong@cloudera.com>
Committed: Thu Oct 11 17:37:52 2018 +0000

----------------------------------------------------------------------
 src/kudu/consensus/log_cache.cc | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/3ff47118/src/kudu/consensus/log_cache.cc
----------------------------------------------------------------------
diff --git a/src/kudu/consensus/log_cache.cc b/src/kudu/consensus/log_cache.cc
index 4d0c73d..fe8572f 100644
--- a/src/kudu/consensus/log_cache.cc
+++ b/src/kudu/consensus/log_cache.cc
@@ -102,7 +102,7 @@ LogCache::LogCache(const scoped_refptr<MetricEntity>& metric_entity,
   // And create a child tracker with the per-tablet limit.
   tracker_ = MemTracker::CreateTracker(
       max_ops_size_bytes, Substitute("$0:$1:$2", kParentMemTrackerId,
-                                     local_uuid, tablet_id),
+                                     local_uuid_, tablet_id_),
       parent_tracker_);
 
   // Put a fake message at index 0, since this simplifies a lot of our


Mime
View raw message