hjtran opened a new pull request, #32517:
URL: https://github.com/apache/beam/pull/32517

   `WorkerHandlerManager` stores cached handlers as `self._cached_handlers = 
defaultdict(str)`. When you reset the manager with `manager.close_all()` it 
resets the cached to just a regular dict instead of a default dict, i.e. 
`self._cached_handlers = {}`.
   
   If you try to create another worker handler after calling `close_all()`, 
you'll get a KeyError.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to