Closed NIC619 closed 5 years ago
NOTE: Currently tracing does not work in CI(Failed to deserialize the trace context...
error) due to not able to set the global tracer. And this is because we gx-unwrite the opentracing package(related: #46 ) so there's two version of opentracing.
And this is because we gx-unwrite the opentracing package(related: #46 ) so there's two version of opentracing.
Could you elaborate more on why two versions of opentracing leads to this issue?
Because we set the global tracer by opentracing.SetGlobalTracer()
: https://github.com/ethresearch/sharding-p2p-poc/blob/master/main.go#L161
, so in our case we set the tracer in the gx-uw'ed opentracing while the opentracing that go-log depends on is the one that's not gx-uw'ed.
How was it fixed?
logger.StartFromParentState
instead of finish ititerate_all_rpc_call.sh
in CI to test if the each RPC call worksCute Animal Picture