sashapolo commented on code in PR #2858:
URL: https://github.com/apache/ignite-3/pull/2858#discussion_r1401977047
##########
modules/replicator/src/main/java/org/apache/ignite/internal/replicator/ReplicaManager.java:
##########
@@ -346,7 +347,9 @@ private void onReplicaMessageReceived(NetworkMessage
message, String senderConsi
}
private static boolean indicatesUnexpectedProblem(Throwable ex) {
- return !(ex instanceof ExpectedReplicationException);
+ ex = unwrapCause(ex);
+
+ return !(ex instanceof ExpectedReplicationException) && !(ex
instanceof PrimaryReplicaMissException);
Review Comment:
If {{PrimaryReplicaMissException}} happens, it still gets logged in other
components, no need to log it as an error with a stacktrace
--
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]