acrites opened a new pull request, #41822: URL: https://github.com/apache/beam/pull/41822
## Description `CachingStateIterator.isReady()` returned `false` unconditionally when a block was not present in the cache (either when the cache was empty or the block had not yet been loaded). This violated the `PrefetchableIterator` contract: calling `prefetch()` and waiting for it to complete never transitioned `isReady()` to `true`. This PR delegates `isReady()` to `underlyingStateFetchingIterator.isReady()` when the requested block is not in the cache, allowing prefetch completion to properly reflect in `isReady()`. -- 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]
