This is an automated email from the ASF dual-hosted git repository.
ming pushed a commit to branch log4j-vc
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph.git
The following commit(s) were added to refs/heads/log4j-vc by this push:
new be3b1cf91 Update RaftRpcClient.java
be3b1cf91 is described below
commit be3b1cf915add6e8288c741bf878479e1c26f7fa
Author: Simon Cheung <[email protected]>
AuthorDate: Mon Oct 30 16:30:10 2023 +0800
Update RaftRpcClient.java
---
.../src/main/java/org/apache/hugegraph/pd/raft/RaftRpcClient.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/hugegraph-pd/hg-pd-core/src/main/java/org/apache/hugegraph/pd/raft/RaftRpcClient.java
b/hugegraph-pd/hg-pd-core/src/main/java/org/apache/hugegraph/pd/raft/RaftRpcClient.java
index 2dfe3b306..1dafc43b2 100644
---
a/hugegraph-pd/hg-pd-core/src/main/java/org/apache/hugegraph/pd/raft/RaftRpcClient.java
+++
b/hugegraph-pd/hg-pd-core/src/main/java/org/apache/hugegraph/pd/raft/RaftRpcClient.java
@@ -59,7 +59,7 @@ public class RaftRpcClient {
private <V> void internalCallAsyncWithRpc(final Endpoint endpoint,
final
RaftRpcProcessor.BaseRequest request,
final FutureClosureAdapter<V>
closure) {
- final InvokeContext invokeCtx = null;
+ final InvokeContext invokeCtx = new InvokeContext();
final InvokeCallback invokeCallback = new InvokeCallback() {
@Override