nicktelford opened a new pull request, #22315: URL: https://github.com/apache/kafka/pull/22315
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 through a ReadOnlyView. The ReadOnlyView delegates to the existing fetchInternal/fetchKeyRange/fetchAllInternal helpers and converts Instant arguments to epoch-milliseconds before calling them; the cache key schema operates in longs throughout, so converting early avoids repeated Instant-to-long conversions in iterator hot paths. 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]
