[ 
https://issues.apache.org/jira/browse/BEAM-8403?focusedWorklogId=328810&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-328810
 ]

ASF GitHub Bot logged work on BEAM-8403:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 15/Oct/19 22:25
            Start Date: 15/Oct/19 22:25
    Worklog Time Spent: 10m 
      Work Description: tweise commented on issue #9800: [BEAM-8403] Guard 
request id generation to prevent concurrent worker access
URL: https://github.com/apache/beam/pull/9800#issuecomment-542425967
 
 
   @aaltay ignoring the specific dependency, what is the generally recommended 
approach for such situations? Explicit locking or are there other/better 
options?
 
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 328810)
    Time Spent: 1h  (was: 50m)

> Race condition in request id generation of GrpcStateRequestHandler
> ------------------------------------------------------------------
>
>                 Key: BEAM-8403
>                 URL: https://issues.apache.org/jira/browse/BEAM-8403
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py-harness
>            Reporter: Maximilian Michels
>            Assignee: Maximilian Michels
>            Priority: Major
>             Fix For: 2.17.0
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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 [~robertwb]



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to