Thiago Nunes created BEAM-14344:
-----------------------------------

             Summary: Opencensus 0.28.0 bug with Distributed Tracing
                 Key: BEAM-14344
                 URL: https://issues.apache.org/jira/browse/BEAM-14344
             Project: Beam
          Issue Type: Test
          Components: io-java-gcp
    Affects Versions: 2.38.0, 2.37.0
            Reporter: Thiago Nunes
            Assignee: Thiago Nunes
             Fix For: 2.39.0


Opencensus version 0.28.0 has an 
[issue|https://github.com/census-instrumentation/opencensus-java/issues/2068] 
that might crash internal threads when there is clock skew in the running 
machine. This would cause threads to hang forever in a lock.

In the SpannerIO.readChangeStreams SDF, we are using opencensus to get 
distributed tracing. Due to the bug above, we could reach a condition where a 
close Span would never return, causing the job to get stuck.

This bug would only be present if the Connector was used alongside the faulty 
version of the opencensus-impl dependency (<= 0.28.0), as the Apache Beam 
project only depends on the opencensus-api.

Nevertheless, we would like to update the opencensus-api version to the newest 
one (0.31.0), in order to avoid customer confusion.



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

Reply via email to