You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by rp...@apache.org on 2025/03/05 08:58:17 UTC

(ignite-3) branch main updated: IGNITE-24697 Log groupId with unsuccessful election message (#5342)

This is an automated email from the ASF dual-hosted git repository.

rpuch pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/ignite-3.git


The following commit(s) were added to refs/heads/main by this push:
     new 242c0859a8b IGNITE-24697 Log groupId with unsuccessful election message (#5342)
242c0859a8b is described below

commit 242c0859a8be683b472933251a8e7cf1aa770d26
Author: Roman Puchkovskiy <ro...@gmail.com>
AuthorDate: Wed Mar 5 12:58:11 2025 +0400

    IGNITE-24697 Log groupId with unsuccessful election message (#5342)
---
 .../raft/src/main/java/org/apache/ignite/raft/jraft/core/NodeImpl.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/raft/src/main/java/org/apache/ignite/raft/jraft/core/NodeImpl.java b/modules/raft/src/main/java/org/apache/ignite/raft/jraft/core/NodeImpl.java
index b227fd099e3..dfe59a561f2 100644
--- a/modules/raft/src/main/java/org/apache/ignite/raft/jraft/core/NodeImpl.java
+++ b/modules/raft/src/main/java/org/apache/ignite/raft/jraft/core/NodeImpl.java
@@ -716,7 +716,7 @@ public class NodeImpl implements Node, RaftServerService {
         electionRound++;
 
         if (electionRound > 1)
-            LOG.info("Unsuccessful election round number {}", electionRound);
+            LOG.info("Unsuccessful election round number {}, group '{}'", electionRound, groupId);
 
         if (!electionAdjusted) {
             initialElectionTimeout = options.getElectionTimeoutMs();