SzyWilliam opened a new pull request, #7070: URL: https://github.com/apache/iotdb/pull/7070
Currently, when fetching latest snapshot, RatisConsensus will visit snapshot directory by order and pick the largest term_index directory as the latest snapshot. However, this snapshot might be incomplete if state machine crashed during the middle of snapshotting. Thus, we have to decide whether a snapshot dir contains a complete snapshot by testing the existence of meta file (which is added to the snapshot dir last). -- 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]
