Uploaded image for project: 'HTrace'
  1. HTrace
  2. HTRACE-118

Java API: support setting the parents of a span after the span is created

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 3.2.0
    • 3.2.0
    • None
    • None

    Description

      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.

      Attachments

        1. HTRACE-118.001.patch
          3 kB
          Colin McCabe

        Issue Links

          Activity

            People

              cmccabe Colin McCabe
              cmccabe Colin McCabe
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: