eatmoreduck commented on PR #24253: URL: https://github.com/apache/kafka/pull/24253#issuecomment-6951496941
Good catch on the vacuous test — you're right that `assertNotSame` held either way (the metered layer always returns a fresh view) and a non-transactional store makes both isolation levels read the same. adc21fdf reworks it: - The key-value marker test now runs a real transactional stack (EOS v2 + `enable.transactional.statestores=true`) and asserts the three-way split: staged write invisible to the `READ_COMMITTED` view, visible to `READ_UNCOMMITTED`, visible to both after `commit()`. Removing the marker override now fails the `READ_COMMITTED` assertion. - The window marker gets the same coverage in `TimestampedWindowStoreBuilderTest`, so the forwarding is exercised on a second store type (2 of the 5 markers; the other three are the same one-line `wrapped()` delegation behind identical builder wiring). Full `state.internals` package plus spotless/checkstyle pass locally. -- 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]
