You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Ning Kang (Jira)" <ji...@apache.org> on 2020/08/04 18:49:00 UTC

[jira] [Created] (BEAM-10637) Fix start/stop hanging issue on test stream service controller

Ning Kang created BEAM-10637:
--------------------------------

             Summary: Fix start/stop hanging issue on test stream service controller
                 Key: BEAM-10637
                 URL: https://issues.apache.org/jira/browse/BEAM-10637
             Project: Beam
          Issue Type: Improvement
          Components: runner-py-interactive
            Reporter: Ning Kang
            Assignee: Ning Kang


The test stream controller sometimes hangs forever when the underlying grpc server start or stop in the wrong timing:

E.g., try to stop a server never started, stop a server already stopped, start a server already started and etc.

The change is to add start/stop states to handle all 6 combinations:
# start server not started
# start server started
# start server stopped
# stop server not started
# stop server started
# stop server stopped

So that it never hangs.



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