This is an automated email from the ASF dual-hosted git repository. openinx pushed a commit to branch branch-1.4 in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-1.4 by this push: new b7ba0b3 HBASE-21734 Some optimization in FilterListWithOR b7ba0b3 is described below commit b7ba0b34913484856c0dce2e96830e3e3e392d21 Author: huzheng <open...@gmail.com> AuthorDate: Fri Jan 18 22:18:50 2019 +0800 HBASE-21734 Some optimization in FilterListWithOR --- .../src/main/java/org/apache/hadoop/hbase/filter/FilterListWithOR.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterListWithOR.java b/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterListWithOR.java index bf5b3c5..5293556 100644 --- a/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterListWithOR.java +++ b/hbase-client/src/main/java/org/apache/hadoop/hbase/filter/FilterListWithOR.java @@ -21,7 +21,6 @@ package org.apache.hadoop.hbase.filter; import org.apache.hadoop.hbase.Cell; import org.apache.hadoop.hbase.CellUtil; -import org.apache.hadoop.hbase.KeyValueUtil; import org.apache.hadoop.hbase.classification.InterfaceAudience; import java.io.IOException; @@ -254,7 +253,7 @@ public class FilterListWithOR extends FilterListBase { // need not save current cell to prevCellList for saving heap memory. prevCellList.set(index, null); } else { - prevCellList.set(index, KeyValueUtil.copyToNewKeyValue(currentCell)); + prevCellList.set(index, currentCell); } }