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

Race condition in request id generation of GrpcStateRequestHandler

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.17.0
    • Component/s: sdk-py-harness
    • Labels:
      None

      Description

      There is a race condition in GrpcStateRequestHandler which surfaced after the recent changes to process append/clear state request asynchronously. The race condition can occur if multiple Runner workers process a transform with state requests with the same SDK Harness. For example, this setup occurs with Flink when a TaskManager has multiple task slots and two or more of those slots process the same stateful stage against an SDK Harness.

      CC Robert Bradshaw

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mxm Maximilian Michels
                Reporter:
                mxm Maximilian Michels
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

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