hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mikhail Antonov (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-15880) RpcClientImpl#tracedWriteRequest incorrectly closes HTrace span
Date Mon, 23 May 2016 19:05:12 GMT
Mikhail Antonov created HBASE-15880:
---------------------------------------

             Summary: RpcClientImpl#tracedWriteRequest incorrectly closes HTrace span
                 Key: HBASE-15880
                 URL: https://issues.apache.org/jira/browse/HBASE-15880
             Project: HBase
          Issue Type: Bug
          Components: tracing
    Affects Versions: 1.2.1, 1.3.0
            Reporter: Mikhail Antonov
            Assignee: Mikhail Antonov
             Fix For: 1.3.0


In this method we continue the span and then close it, which causes the current span (the
one created by client app around HTabl#get() or similar API call) to be closed incorrectly.

{code}
 TraceScope ts = Trace.continueSpan(span);
      try {
        writeRequest(call, priority, span);
      } finally {
        ts.close();
      }
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message