kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a...@apache.org
Subject [kudu] branch master updated: [util] Fix comment
Date Tue, 24 Sep 2019 17:15:57 GMT
This is an automated email from the ASF dual-hosted git repository.

adar 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 b35cf4f  [util] Fix comment
b35cf4f is described below

commit b35cf4fa5fe305d0a915c9c70d05ec112969fb6d
Author: lingbin <lingbinlb@gmail.com>
AuthorDate: Tue Sep 24 11:42:56 2019 +0800

    [util] Fix comment
    
    Change-Id: Ie6412beca7bd95a4c99ecd9a097f6ba5fb796ed2
    Reviewed-on: http://gerrit.cloudera.org:8080/14288
    Tested-by: Kudu Jenkins
    Reviewed-by: Adar Dembo <adar@cloudera.com>
---
 src/kudu/common/common.proto    | 2 +-
 src/kudu/util/process_memory.cc | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/kudu/common/common.proto b/src/kudu/common/common.proto
index a3ffd24..1982315 100644
--- a/src/kudu/common/common.proto
+++ b/src/kudu/common/common.proto
@@ -218,7 +218,7 @@ enum ExternalConsistencyMode {
 // - The earliest snapshot: this corresponds to the earliest kept undo records
 //   in the tablet, meaning the current state (Base) can be undone up to
 //   this snapshot.
-// - The latest snapshot: This corresponds to the instant beyond which no
+// - The latest snapshot: This corresponds to the instant beyond which
 //   no transaction will have an earlier timestamp. Usually this corresponds
 //   to whatever clock->Now() returns, but can be higher if the client propagates
 //   a timestamp (see below).
diff --git a/src/kudu/util/process_memory.cc b/src/kudu/util/process_memory.cc
index 6f932ff..f395411 100644
--- a/src/kudu/util/process_memory.cc
+++ b/src/kudu/util/process_memory.cc
@@ -86,7 +86,7 @@ ThreadSafeRandom* g_rand = nullptr;
 
 #ifdef TCMALLOC_ENABLED
 // Total amount of memory released since the last GC. If this
-// is greater than GC_RELEASE_SIZE, this will trigger a tcmalloc gc.
+// is greater than kGcReleaseSize, this will trigger a tcmalloc gc.
 Atomic64 g_released_memory_since_gc;
 
 // Size, in bytes, that is considered a large value for Release() (or Consume() with


Mime
View raw message