hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lars Hofhansl (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-14549) Simplify scanner stack reset logic
Date Sun, 04 Oct 2015 04:48:26 GMT
Lars Hofhansl created HBASE-14549:

             Summary: 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
            Assignee: Lars Hofhansl

Looking at the code, I find that the logic is unnecessarily complex.
We indicate in updateReaders that the scanner stack needs to be reset. Than 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

View raw message