This is an automated email from the ASF dual-hosted git repository. openinx pushed a commit to branch branch-1 in repository https://gitbox.apache.org/repos/asf/hbase.git
The following commit(s) were added to refs/heads/branch-1 by this push: new 3015e23 HBASE-21734 Some optimization in FilterListWithOR 3015e23 is described below commit 3015e23c092d2ff3e1b529bdd9a9b4029580eb31 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); } }