Consider adding information to ProcessBundleRequest indicating there is no existing state
Open
beam-model
improvement
P3
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
This allows for skipping all state fetches made during processing this key, preloading the cache with empty values for the key, or extending the cache to include this negative state information to avoid fetches as long as no state is evicted for the key.
This is particularly beneficial in sparse key streaming pipelines where such new keys are common.
It could also be used to avoid fetches in batch pipelines where there is no persisted state.
Imported from Jira [BEAM-13684](https://issues.apache.org/jira/browse/BEAM-13684). Original Jira may contain additional context.
Reported by: scwhittle.
Contributor guide
Assessment
This issue has not been assessed yet.