You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by GitBox <gi...@apache.org> on 2022/06/03 18:42:34 UTC

[GitHub] [beam] kennknowles opened a new issue, #18518: PubSub subscriptions automatically created in Python DirectRunner not reliably cleaned up

kennknowles opened a new issue, #18518:
URL: https://github.com/apache/beam/issues/18518

   In the Python DirectRunner, we attempt to garbage-collect automatically-created PubSub subscriptions here (https://github.com/apache/beam/blob/446f311746b74bdfb420ba71d76097d683fde9a1/sdks/python/apache_beam/runners/direct/transform_evaluator.py#L370).  However, this mechanism may not succeed, since it is called on the __del__ method when other references may have already been garbage-collected.  We should further investigate the mechanism here and attempt to make it more reliable.
   
   Imported from Jira [BEAM-2988](https://issues.apache.org/jira/browse/BEAM-2988). Original Jira may contain additional context.
   Reported by: ccy.


-- 
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.

To unsubscribe, e-mail: github-unsubscribe@beam.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org