You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by GitBox <gi...@apache.org> on 2021/07/13 18:04:46 UTC

[GitHub] [kafka] jsancio commented on a change in pull request #11040: KAFKA-13078: Closing FileRawSnapshotWriter too early

jsancio commented on a change in pull request #11040:
URL: https://github.com/apache/kafka/pull/11040#discussion_r668995851



##########
File path: raft/src/main/java/org/apache/kafka/raft/FollowerState.java
##########
@@ -137,11 +137,11 @@ public boolean updateHighWatermark(OptionalLong highWatermark) {
         return fetchingSnapshot;
     }
 
-    public void setFetchingSnapshot(Optional<RawSnapshotWriter> fetchingSnapshot) {
+    public void setFetchingSnapshot(Optional<RawSnapshotWriter> newSnapshot) {

Review comment:
       Verified that a few of the tests failed without this and the changes to `MockRawSnapshotWriter` in this PR.




-- 
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: jira-unsubscribe@kafka.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org