Phixsura commented on code in PR #22310:
URL: https://github.com/apache/kafka/pull/22310#discussion_r3282271501
##########
streams/src/test/java/org/apache/kafka/streams/state/internals/InMemoryKeyValueStoreTest.java:
##########
@@ -447,4 +448,28 @@ private Bytes bytesKey(final String key) {
return Bytes.wrap(key.getBytes());
}
+ @Test
+ public void shouldPrefixScanPrefixWithNoUpperBound() {
Review Comment:
Should we add similar regression tests for `CachingKeyValueStore` and
`MemoryNavigableLRUCache`? The fix touches both but their existing prefixScan
tests at e.g.
https://github.com/apache/kafka/blob/trunk/streams/src/test/java/org/apache/kafka/streams/state/internals/CachingInMemoryKeyValueStoreTest.java#L416
use ASCII prefixes, so the overflow path isn't hit.
--
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]