From 74f52090d79c94e98fe870ae9506b175f05f95bf Mon Sep 17 00:00:00 2001 From: liningrui Date: Fri, 2 Apr 2021 15:48:26 +0800 Subject: [PATCH] tiny improve Change-Id: Ic3059eb89d5c45ce77a386456b547385be4feeda --- .../java/com/baidu/hugegraph/backend/store/raft/RaftNode.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/raft/RaftNode.java b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/raft/RaftNode.java index a9edc8297a..7c64e1fef0 100644 --- a/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/raft/RaftNode.java +++ b/hugegraph-core/src/main/java/com/baidu/hugegraph/backend/store/raft/RaftNode.java @@ -285,9 +285,9 @@ public void onError(PeerId peer, Status status) { } } - @Override + // NOTE: Jraft itself doesn't have this callback, it's added by us + // @Override public void onBusy(PeerId peer, Status status) { - // NOTE: Jraft itself doesn't have this callback, it's added by us int count = RaftNode.this.busyCounter.incrementAndGet(); LOG.info("Increase busy counter: [{}]", count); }