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 2020/12/23 04:45:51 UTC

[GitHub] [beam] boyuanzz commented on pull request #13592: [BEAM-11403] Cache UnboundedReader per UnboundedSourceRestriction in SDF Wrapper DoFn.

boyuanzz commented on pull request #13592:
URL: https://github.com/apache/beam/pull/13592#issuecomment-749929365


   I did more changes to address mentioned concerns, which include:
   
   - Have DoFn keep the Cache for all created RestrictionTracker
   - The RestrictionTracker#tryClaim will get the reader from the cache if any.
   - When RestrictionTracker#trySplit happens, the reader will be cached by the latest CheckpointMark.
   
   I'll try to have a test tomorrow.


----------------------------------------------------------------
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:
users@infra.apache.org