Details
-
Bug
-
Status: Resolved
-
P2
-
Resolution: Fixed
-
None
-
None
Description
With state caching enabled, the changes in BEAM-8298 lead to an unbounded nesting of state iterables when appending to a bag state, quickly resulting in an exception:
events = list(event_bag.read()) File "/code/venvs/venv/lib/python3.6/site-packages/apache_beam/runners/worker/bundle_processor.py", line 488, in __iter__ for elem in self.first: File "/code/venvs/venv/lib/python3.6/site-packages/apache_beam/runners/worker/statecache.py", line 186, in __iter__ for item in value: File "/code/venvs/venv/lib/python3.6/site-packages/apache_beam/runners/worker/statecache.py", line 186, in __iter__ for item in value: File "/code/venvs/venv/lib/python3.6/site-packages/apache_beam/runners/worker/statecache.py", line 186, in __iter__ for item in value: [Previous line repeated 977 more times] RecursionError: maximum recursion depth exceeded while calling a Python object
Attachments
Issue Links
- is caused by
-
BEAM-8298 Implement state caching for side inputs for Python
- Resolved
- links to