nicktelford opened a new pull request, #22313: URL: https://github.com/apache/kafka/pull/22313
The cache holds uncommitted writes that must not be visible under READ_COMMITTED, so that isolation level bypasses the cache entirely and delegates straight to the inner store's readOnly view. READ_UNCOMMITTED requires a merged view of both cache and store, so a ReadOnlyView inner class is introduced. The session fetch methods are extracted into *Internal helpers parameterised by the underlying store, allowing the view to share the same cache-merge logic (PeekingKeyValueIterator + HasNextCondition filtering) without duplication. KAFKA-20497 -- 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]
