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

RpcClientImpl#tracedWriteRequest incorrectly closes HTrace span

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0, 1.2.1, 1.1.5
    • 1.3.0, 1.2.2, 1.1.6, 2.0.0
    • tracing
    • None

    Description

      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.

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

      Attachments

        1. HBASE-15880-branch-1.3.v1.patch
          1 kB
          Mikhail Antonov

        Activity

          People

            mantonov Mikhail Antonov
            mantonov Mikhail Antonov
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: