guluo created HBASE-28443:
-----------------------------
Summary: Return too slow when scanning a table with non-existing
REGION_REPLICA_ID
Key: HBASE-28443
URL: https://issues.apache.org/jira/browse/HBASE-28443
Project: HBase
Issue Type: Improvement
Components: Client
Environment: hbase2.4.13
Centos7
Reporter: guluo
It takes more than 8 seconds to get the error result, and it's always like this
every thime.
Reproduction Step:
1. Creating a table with region replica
create 't01', 'info', \{REGION_REPLICATION => 2}
2. Scanning this table with a non-existing REGION_REPLICA_ID by
CONSISTENCY.TIMELINE
scan 't01', \{CONSISTENCY => "TIMELINE", REGION_REPLICA_ID => 2}
3. we would take more than 8s to get the error result.
{code:java}
hbase:010:0> scan 't01', {CONSISTENCY => "TIMELINE", REGION_REPLICA_ID => 2}ROW
COLUMN+CELL
ERROR: No location for t01, row='', locateType=CURRENT, replicaId=2
For usage try 'help "scan"'
Took 8.2830 seconds {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)