Uploaded image for project: 'HBase'
  1. HBase
  2. HBASE-28080

correct span name in AbstractRpcBasedConnectionRegistry#getActiveMaster

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Trivial
    • Resolution: Fixed
    • 3.0.0-alpha-4
    • 3.0.0-beta-1
    • Client
    • None
    • Reviewed

    Description

      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"); }

      Attachments

        Issue Links

          Activity

            People

              frostruan ruanhui
              frostruan ruanhui
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: