You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "Andrew Kyle Purtell (Jira)" <ji...@apache.org> on 2022/07/01 21:49:00 UTC
[jira] [Closed] (HBASE-14549) Simplify scanner stack reset logic
[ https://issues.apache.org/jira/browse/HBASE-14549?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Andrew Kyle Purtell closed HBASE-14549.
---------------------------------------
Assignee: (was: Lars Hofhansl)
> Simplify scanner stack reset logic
> ----------------------------------
>
> Key: HBASE-14549
> URL: https://issues.apache.org/jira/browse/HBASE-14549
> Project: HBase
> Issue Type: Bug
> Reporter: Lars Hofhansl
> Priority: Major
> Attachments: 14549-0.98.txt
>
>
> Looking at the code, I find that the logic is unnecessarily complex.
> We indicate in updateReaders that the scanner stack needs to be reset. Then almost all store scanner (and derived classes) methods need to check and actually reset the scanner stack.
> Compaction are rare, we should reset the scanner stack in update readers, and hence avoid needing to check in all methods.
> Patch forthcoming.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)