Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-13164

Race between member variable being accessed due to leaking uninitialized state via OutboundObserverFactory

Details

    • Bug
    • Status: Open
    • P1
    • Resolution: Unresolved
    • None
    • None
    • runner-spark
    • None

    Description

      The OutboundObserverFactory leaks the InboundObserver and makes it ready to start getting requests before the method returns leading to a dangerous state where the passed in InboundObserver could be used before the constructor of the enclosing class is finished.

      This was found when running the Spark PVR PostCommit:

      Looks like this went from being a flake to a hard failure:
      https://ci-beam.apache.org/job/beam_PostCommit_Java_PVR_Spark_Batch/
      https://ci-beam.apache.org/job/beam_PostCommit_Java_PVR_Spark_Batch/5009/

      18:41:18 Build timed out (after 100 minutes). Marking the build as aborted.

      Attachments

        Activity

          People

            Unassigned Unassigned
            apilloud Andrew Pilloud
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0h
                0h
                Logged:
                Time Spent - 5h
                5h