hbase-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From syuanji...@apache.org
Subject [02/43] hbase git commit: HBASE-14995 Revert according to Ram's feedback
Date Sat, 26 Dec 2015 17:07:35 GMT
HBASE-14995 Revert according to Ram's feedback


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

Branch: refs/heads/hbase-12439
Commit: d78eddfdc8bad5068600e28a039276cc55063ce2
Parents: 546ac1c
Author: tedyu <yuzhihong@gmail.com>
Authored: Wed Dec 16 21:54:48 2015 -0800
Committer: tedyu <yuzhihong@gmail.com>
Committed: Wed Dec 16 21:54:48 2015 -0800

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hbase/regionserver/DefaultMemStore.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hbase/blob/d78eddfd/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DefaultMemStore.java
----------------------------------------------------------------------
diff --git a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DefaultMemStore.java
b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DefaultMemStore.java
index 14c2e32..89ae0d1 100644
--- a/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DefaultMemStore.java
+++ b/hbase-server/src/main/java/org/apache/hadoop/hbase/regionserver/DefaultMemStore.java
@@ -240,7 +240,7 @@ public class DefaultMemStore implements MemStore {
     // When we use ACL CP or Visibility CP which deals with Tags during
     // mutation, the TagRewriteCell.getTagsLength() is a cheaper call. We do not
     // parse the byte[] to identify the tags length.
-    if (!tagsPresent && (e.getTagsLength() > 0)) {
+    if(e.getTagsLength() > 0) {
       tagsPresent = true;
     }
     setOldestEditTimeToNow();


Mime
View raw message