You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hbase.apache.org by "YR (Jira)" <ji...@apache.org> on 2025/04/02 14:44:00 UTC

[jira] [Resolved] (HBASE-29191) Use MetaRpcReadTimeout when accessing Meta replicas

     [ https://issues.apache.org/jira/browse/HBASE-29191?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

YR resolved HBASE-29191.
------------------------
    Resolution: Won't Fix

> 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
>            Priority: Trivial
>              Labels: pull-request-available
>
> 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)