[
https://issues.apache.org/jira/browse/HTRACE-298?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Colin Patrick McCabe updated HTRACE-298:
----------------------------------------
Attachment: HTRACE-298.002.patch
The WriteSpans channel was a way of blocking in tests until a bunch of spans
had been written. For some tests that wrote a lot of spans, though, using this
got unwieldy. For example, the test might panic, but the MiniHTracedCluster
would not shut down because the datastore goroutine was blocked sending to this
channel. So v2 replaces the channel with a semaphore which the tests can use to
sleep until all spans have been written. This is also more efficient, which
will give more accurate results for performance tests.
> htraced: improve datastore serialization
> ----------------------------------------
>
> Key: HTRACE-298
> URL: https://issues.apache.org/jira/browse/HTRACE-298
> Project: HTrace
> Issue Type: Improvement
> Components: htraced
> Affects Versions: 4.0
> Reporter: Colin Patrick McCabe
> Assignee: Colin Patrick McCabe
> Attachments: HTRACE-298.001.patch, HTRACE-298.002.patch
>
>
> htraced: speed up datastore serialization
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)