denis-chudov commented on code in PR #6410:
URL: https://github.com/apache/ignite-3/pull/6410#discussion_r2276299757
##########
modules/raft/src/main/java/org/apache/ignite/raft/jraft/core/NodeImpl.java:
##########
@@ -254,8 +254,8 @@ public void report(final AcquireMode acquireMode, final
Thread heldThread,
final Collection<Thread> queuedThreads, final long blockedNanos) {
final long blockedMs = TimeUnit.NANOSECONDS.toMillis(blockedNanos);
LOG.warn(
- "Raft-Node-Lock report: currentThread={}, acquireMode={},
heldThread={}, queuedThreads={}, blockedMs={}.",
- Thread.currentThread(), acquireMode, heldThread,
queuedThreads, blockedMs);
+ "Raft-Node-Lock report [node={} currentThread={},
acquireMode={}, heldThread={}, queuedThreads={}, blockedMs={}].",
Review Comment:
```suggestion
"Raft-Node-Lock report [node={}, currentThread={},
acquireMode={}, heldThread={}, queuedThreads={}, blockedMs={}].",
```
##########
modules/raft/src/main/java/org/apache/ignite/raft/jraft/core/Replicator.java:
##########
@@ -931,8 +933,8 @@ public static void waitForCaughtUp(final ThreadId id, final
long maxMargin, fina
@Override
public String toString() {
- return "Replicator [state=" + getState() + ", statInfo=" +
this.statInfo + ", peerId="
- + this.options.getPeerId() + ", type=" +
this.options.getReplicatorType() + "]";
+ return "Replicator [state=" + getState() + ", statInfo=" +
this.statInfo + ", groupId="
Review Comment:
```suggestion
return "Replicator [state=" + getState() + ", statInfo=" +
this.statInfo + ", node="
```
--
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: notifications-unsubscr...@ignite.apache.org
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org