mjsax commented on code in PR #15219:
URL: https://github.com/apache/kafka/pull/15219#discussion_r1457939699


##########
streams/src/main/java/org/apache/kafka/streams/state/internals/StoreQueryUtils.java:
##########
@@ -146,7 +146,7 @@ public static <R> QueryResult<R> handleBasicQueries(
                 "Handled in " + store.getClass() + " in " + (System.nanoTime() 
- start) + "ns"
             );
         }
-        result.setPosition(position);
+        result.setPosition(position.copy());

Review Comment:
   Thanks. I was hoping it would be thready-safe already -- maybe not. Let me 
double check the code and figure it out.



-- 
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]

Reply via email to