ibessonov commented on code in PR #3379:
URL: https://github.com/apache/ignite-3/pull/3379#discussion_r1544161401
##########
modules/raft/src/main/java/org/apache/ignite/raft/jraft/Node.java:
##########
@@ -317,4 +317,14 @@ public interface Node extends Lifecycle<NodeOptions>,
Describer {
* @return node's current term.
*/
long getCurrentTerm();
+
+ /**
+ * Returns {@code true} if node is currently in the process of installing
a snapshot.
+ */
+ boolean isInstallingSnapshot();
+
+ /**
+ * Returns the value of last replicated log index. Corresponding log entry
might not yet be written to the log storage (no flush).
+ */
+ long lastLogIndex();
Review Comment:
No, everywhere else it's called last log index, I don't want to create
confusion with alternative naming.
--
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]