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

Duo Zhang resolved HBASE-28080.
-------------------------------
    Fix Version/s: 3.0.0-beta-1
                       (was: 4.0.0-alpha-1)
     Hadoop Flags: Reviewed
       Resolution: Fixed

Pushed to master and branch-3.

Thanks [~frostruan] for contributing!

> correct span name in AbstractRpcBasedConnectionRegistry#getActiveMaster
> -----------------------------------------------------------------------
>
>                 Key: HBASE-28080
>                 URL: https://issues.apache.org/jira/browse/HBASE-28080
>             Project: HBase
>          Issue Type: Bug
>          Components: Client
>    Affects Versions: 3.0.0-alpha-4
>            Reporter: ruanhui
>            Assignee: ruanhui
>            Priority: Trivial
>             Fix For: 3.0.0-beta-1
>
>
> It looks like that the span name does not correspond to what is actually done.
>  
> public CompletableFuture<ServerName> getActiveMaster() {
> return tracedFuture(
> () -> this
> .<GetActiveMasterResponse> call(
> (c, s, d) -> s.getActiveMaster(c, 
> GetActiveMasterRequest.getDefaultInstance(), d),
> GetActiveMasterResponse::hasServerName, "getActiveMaster()")
> .thenApply(resp -> ProtobufUtil.toServerName(resp.getServerName())),
> getClass().getSimpleName() + ".getClusterId");
> }



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to