hudeqi commented on code in PR #14615:
URL: https://github.com/apache/kafka/pull/14615#discussion_r1372501784


##########
storage/src/main/java/org/apache/kafka/storage/internals/log/ProducerStateManager.java:
##########
@@ -595,7 +595,7 @@ public void deleteSnapshotsBefore(long offset) throws 
IOException {
     }
 
     public Optional<File> fetchSnapshot(long offset) {

Review Comment:
   Can we add an annotation to explain what situation may cause null to be 
obtained?



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