EgorKuts commented on code in PR #6843:
URL: https://github.com/apache/ignite-3/pull/6843#discussion_r2478065459
##########
modules/raft/src/main/java/org/apache/ignite/raft/jraft/core/Replicator.java:
##########
@@ -1239,6 +1239,15 @@ void onHeartbeatReturned(final ThreadId id, final Status
status, final AppendEnt
r.startHeartbeatTimer(startTimeMs);
return;
}
+ if (!response.success()) {
Review Comment:
and we observe the following in the logs:
Node <21_part_0/idrcrpwct_n_3344> reject term_unmatched AppendEntriesRequest
from idrcrpwct_n_3345, term=2, prevLogIndex=58, prevLogTerm=2,
localPrevLogTerm=0, lastLogIndex=0, entriesSize=0.
##########
modules/raft/src/main/java/org/apache/ignite/raft/jraft/core/Replicator.java:
##########
@@ -1239,6 +1239,15 @@ void onHeartbeatReturned(final ThreadId id, final Status
status, final AppendEnt
r.startHeartbeatTimer(startTimeMs);
return;
}
+ if (!response.success()) {
Review Comment:
and we observe the following in the logs:
Node <21_part_0/idrcrpwct_n_3344> reject term_unmatched AppendEntriesRequest
from idrcrpwct_n_3345, term=2, prevLogIndex=58, prevLogTerm=2,
localPrevLogTerm=0, lastLogIndex=0, entriesSize=0.
--
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]