You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@htrace.apache.org by "Colin Patrick McCabe (JIRA)" <ji...@apache.org> on 2015/02/26 03:07:04 UTC

[jira] [Created] (HTRACE-118) Java API: support setting the parents of a span after the span is created

Colin Patrick McCabe created HTRACE-118:
-------------------------------------------

             Summary: Java API: support setting the parents of a span after the span is created
                 Key: HTRACE-118
                 URL: https://issues.apache.org/jira/browse/HTRACE-118
             Project: HTrace
          Issue Type: Bug
    Affects Versions: 3.2.0
            Reporter: Colin Patrick McCabe
            Assignee: Colin Patrick McCabe


The Java API should support setting the parents of a span after the span is created.  This is necessary since some spans may get more parents after they start.  For example, if we have a write-ahead log that we start flushing when a certain number of log entries has accumulated, we may also flush log entries that are created after the flush begins.

To support this case, the Java API should support setting the parents on a span.  As long as the parents are set before the span is closed, the new parents will show up in the JSON we emit.



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