[ https://issues.apache.org/jira/browse/HBASE-16691?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15525928#comment-15525928 ]
binlijin commented on HBASE-16691: ---------------------------------- Ok, done, see HBASE-16691-master_v2.patch. > Optimize KeyOnlyFilter by utilizing KeyOnlyCell > ----------------------------------------------- > > Key: HBASE-16691 > URL: https://issues.apache.org/jira/browse/HBASE-16691 > Project: HBase > Issue Type: Improvement > Reporter: binlijin > Assignee: binlijin > Fix For: 2.0.0 > > Attachments: HBASE-16691-addendum.patch, HBASE-16691-master.patch, > HBASE-16691-master_v2.patch > > > In KeyOnlyFilter#transformCell will return a KeyOnlyCell that have no value > or has valueLength as value, current will copy all row keys into a new byte[] > and new a KeyValue, we can eliminate the copy and have a wrap KeyOnlyCell > that ignore the cell's value. -- This message was sent by Atlassian JIRA (v6.3.4#6332)