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/04/19 02:03:14 UTC

[GitHub] [iotdb] SzyWilliam commented on a diff in pull request #5497: [IOTDB-2848] Consensus snapshot interface

SzyWilliam commented on code in PR #5497:
URL: https://github.com/apache/iotdb/pull/5497#discussion_r852533977


##########
consensus/src/main/java/org/apache/iotdb/consensus/statemachine/IStateMachine.java:
##########
@@ -37,4 +40,12 @@ interface Registry extends Function<ConsensusGroupId, IStateMachine> {}
   TSStatus write(IConsensusRequest IConsensusRequest);
 
   DataSet read(IConsensusRequest IConsensusRequest);
+
+  void takeSnapshot(ByteBuffer metadata, File snapshotDir);

Review Comment:
   done



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