hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "liang xie (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-7495) parallel scanner seek in StoreScanner's constructor
Date Fri, 04 Jan 2013 11:48:12 GMT
liang xie created HBASE-7495:
--------------------------------

             Summary: parallel scanner seek in StoreScanner's constructor
                 Key: HBASE-7495
                 URL: https://issues.apache.org/jira/browse/HBASE-7495
             Project: HBase
          Issue Type: Bug
          Components: Scanners
    Affects Versions: 0.94.3, 0.96.0
            Reporter: liang xie
            Assignee: liang xie


seems there's a potential improvable space before doing scanner.next:

{code:title=StoreScanner.java|borderStyle=solid}
    if (explicitColumnQuery && lazySeekEnabledGlobally) {
      for (KeyValueScanner scanner : scanners) {
        scanner.requestSeek(matcher.getStartKey(), false, true);
      }
    } else {
      for (KeyValueScanner scanner : scanners) {
        scanner.seek(matcher.getStartKey());
      }
    }
{code} 

we can do scanner.requestSeek or scanner.seek in parallel, instead of current serialization,
to reduce latency for special case.

Any ideas on it ?  I'll have a try if the comments/suggestions are positive:)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message