sjhajharia commented on code in PR #16207:
URL: https://github.com/apache/kafka/pull/16207#discussion_r1630640609
##########
storage/src/main/java/org/apache/kafka/storage/internals/log/SkimpyOffsetMap.java:
##########
@@ -109,7 +109,7 @@ public long get(ByteBuffer key) throws DigestException {
hashInto(key, hash1);
// search for the hash of this key by repeated probing until we find
the hash we are looking for or we find an empty slot
int attempt = 0;
- int pos = 0;
+ int pos;
Review Comment:
Makes sense. Moved the same in the next commit.
Thanks!
--
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]