You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@hbase.apache.org by "YR (Jira)" <ji...@apache.org> on 2025/03/16 13:56:00 UTC
[jira] [Created] (HBASE-29191) Use MetaRpcReadTimeout when accessing Meta replicas
YR created HBASE-29191:
--------------------------
Summary: Use MetaRpcReadTimeout when accessing Meta replicas
Key: HBASE-29191
URL: https://issues.apache.org/jira/browse/HBASE-29191
Project: HBase
Issue Type: Improvement
Affects Versions: 2.4.0
Reporter: YR
Assignee: YR
We should use dedicated timeout settings when accessing the Meta table replicas
{code:java}
// conn.connConf.getReadRpcTimeoutNs() in AsyncNonMetaRegionLocator & ConnectionImplementation
try {
RegionLocations metaLocations = conn.registry.getMetaRegionLocations()
.get(conn.connConf.getMetaReadRpcTimeoutNs(), TimeUnit.NANOSECONDS);
numOfReplicas = metaLocations.size();
} catch (Exception e) {
LOG.error("Failed to get table {}'s region replication, ", META_TABLE_NAME, e);
}
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)