[
https://issues.apache.org/jira/browse/HTRACE-118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14343967#comment-14343967
]
stack commented on HTRACE-118:
------------------------------
Looks reasonable [~cmccabe] +1. You tried it? It makes sense in say an HDFS
context?
> 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
> Attachments: HTRACE-118.001.patch
>
>
> 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)