You are viewing a plain text version of this content. The canonical link for it is here.
Posted to reviews@iotdb.apache.org by GitBox <gi...@apache.org> on 2022/08/20 15:12:11 UTC

[GitHub] [iotdb] SzyWilliam opened a new pull request, #7070: [IOTDB-4027] Guarantee atomicity for latest snapshot

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: reviews-unsubscribe@iotdb.apache.org

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


[GitHub] [iotdb] qiaojialin merged pull request #7070: [IOTDB-4027] Guarantee atomicity for latest snapshot

Posted by GitBox <gi...@apache.org>.
qiaojialin merged PR #7070:
URL: https://github.com/apache/iotdb/pull/7070


-- 
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: reviews-unsubscribe@iotdb.apache.org

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