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:08:04 UTC
[jira] [Updated] (HTRACE-118) Java API: support setting the parents
of a span after the span is created
[ https://issues.apache.org/jira/browse/HTRACE-118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Colin Patrick McCabe updated HTRACE-118:
----------------------------------------
Attachment: HTRACE-118.001.patch
> 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)