[
https://issues.apache.org/jira/browse/HBASE-29742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Duo Zhang updated HBASE-29742:
------------------------------
Fix Version/s: 2.7.0
3.0.0-beta-2
2.6.5
Hadoop Flags: Reviewed
Assignee: Duo Zhang (was: Istvan Toth)
Resolution: Fixed
Status: Resolved (was: Patch Available)
Pushed to branch-2.6+.
Thanks [~stoty] for analyzing the issue and reviewing the PR!
> Compaction scan returns single cells instead of rows after 10MB
> ---------------------------------------------------------------
>
> Key: HBASE-29742
> URL: https://issues.apache.org/jira/browse/HBASE-29742
> Project: HBase
> Issue Type: Bug
> Components: Compaction
> Reporter: Istvan Toth
> Assignee: Duo Zhang
> Priority: Major
> Labels: pull-request-available
> Fix For: 2.7.0, 3.0.0-beta-2, 2.6.5
>
>
> As reported by [~wchevreuil] , there is a bug in compaction where the scan
> switches to returning single cells instead of rows.
> This happens because compaction sets a Block limit for the ScannerContext,
> which does not get reset on next().
> That's not what we want for compactions.
> We want next() to return if it wasn't able to return a single row after
> reading 10 MB, but but we want to reset the limit after that.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)