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)