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

   Fixes #33620
   
   StateBackedIterable currently encodes every element to report it's size to 
observer.
   With this change it will take into account isRegisterByteSizeObserverCheap 
response and depending on it it will encode or sample. Sampling algorithm is 
similar to other places e.g. 
[OutputObjectAndByteCounter](runners/google-cloud-dataflow-java/worker/src/main/java/org/apache/beam/runners/dataflow/worker/util/common/worker/OutputObjectAndByteCounter.java].
   


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