chickenchickenlove opened a new pull request, #24334: URL: https://github.com/apache/kafka/pull/24334
On an IQv2 KeyQuery cache hit, `CachingKeyValueStore` can return an uncommitted value even when the request specifies `READ_COMMITTED`. It also includes the cache position when checking the PositionBound, so a query can succeed before the committed state reaches the requested offset. This change bypasses the record cache when `enable.transactional.statestores=true` and the query requests `READ_COMMITTED` isolation. `CachingKeyValueStore` forwards the original `PositionBound` and `QueryConfig` to the underlying store, which evaluates the bound and serves the query using its committed state. -- 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]
