[
https://issues.apache.org/jira/browse/HBASE-16086?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Vincent Poon updated HBASE-16086:
---------------------------------
Attachment: HBASE-16086.patch
prior to this, the Scope and TableCf filters were doing two things in filter()
- filtering entries, and if the entries passed, filtering the cells. This patch
makes those two actions distinct, so that the cell filtering in the two filters
could be combined into a single pass through the cells.
There was also a TODO for the bulk load logic in these classes, which was
pretty much a copy+paste job. This patch unifies the duplicate code.
> TableCfWALEntryFilter and ScopeWALEntryFilter should not redundantly iterate
> over cells.
> ----------------------------------------------------------------------------------------
>
> Key: HBASE-16086
> URL: https://issues.apache.org/jira/browse/HBASE-16086
> Project: HBase
> Issue Type: Bug
> Affects Versions: 2.0.0, 1.2.0, 1.3.0
> Reporter: churro morales
> Assignee: Vincent Poon
> Fix For: 1.3.1
>
> Attachments: HBASE-16086.patch
>
>
> TableCfWALEntryFilter and ScopeWALEntryFilter both filter by iterating over
> cells. Since the filters are chained we do this work twice. Instead iterate
> over cells once and apply the "cell filtering" logic to these cells.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)