hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Phil Yang (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-18121) Scanner id should be reset when ScannerCallable reload the location
Date Fri, 26 May 2017 07:18:04 GMT
Phil Yang created HBASE-18121:
---------------------------------

             Summary: Scanner id should be reset when ScannerCallable reload the location
                 Key: HBASE-18121
                 URL: https://issues.apache.org/jira/browse/HBASE-18121
             Project: HBase
          Issue Type: Bug
            Reporter: Phil Yang
            Assignee: Phil Yang


If a scan rpc request failed, the RetryingCallable will retry by reload=true and may change
the location because there may be a region movement. However, the ScannerCallable will still
use the previous scanner id and send to the new server. In new RS the scanner id is not related
with the old RS. The most possible result is UnknowScannerException and client will retry
and there will be one useless rpc. And there is a low probability that there is a scanner
with same id in the new RS, the result will be totally wrong.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Mime
View raw message