guozhangwang commented on a change in pull request #8964: URL: https://github.com/apache/kafka/pull/8964#discussion_r466082144
########## File path: streams/src/main/java/org/apache/kafka/streams/processor/internals/AbstractTask.java ########## @@ -49,6 +61,30 @@ this.stateDirectory = stateDirectory; } + protected void initializeCheckpoint() { + // we will delete the local checkpoint file after registering the state stores and loading them into the Review comment: Yes it is a simplification: we are going to write the checkpoint file after initialization and on the first commit we would write checkpoint file again, so that we only have a short window of risk. ---------------------------------------------------------------- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org