[ 
https://issues.apache.org/jira/browse/BEAM-14177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Luke Cwik updated BEAM-14177:
-----------------------------
    Description: 
The wrong cache key is being used as it has not been namespaced to the state 
key.

This was previously being done within StateFetchingIterators but 
https://github.com/apache/beam/pull/17121 changed that to use a single shared 
key.

The fix is to subcache the cache before passing it into StateFetchingIterators 
restoring the prior behavior.

  was:
The wrong cache key is being used as it has not been namespaced to the state 
key.

This was previously being done within StateFetchingIterators but 
https://github.com/apache/beam/pull/17121 changed that to use a single shared 
key.


> GroupByKey iteration caching broken for portable runners like Dataflow runner 
> v2
> --------------------------------------------------------------------------------
>
>                 Key: BEAM-14177
>                 URL: https://issues.apache.org/jira/browse/BEAM-14177
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-java-harness
>            Reporter: Luke Cwik
>            Assignee: Luke Cwik
>            Priority: P2
>             Fix For: 2.38.0
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> The wrong cache key is being used as it has not been namespaced to the state 
> key.
> This was previously being done within StateFetchingIterators but 
> https://github.com/apache/beam/pull/17121 changed that to use a single shared 
> key.
> The fix is to subcache the cache before passing it into 
> StateFetchingIterators restoring the prior behavior.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to