This is an automated email from the ASF dual-hosted git repository.
vgalaxies pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hugegraph.git
The following commit(s) were added to refs/heads/master by this push:
new d28526e14 fix(pd): pd raft-follower failed to get leader address due
to npe (#2919)
d28526e14 is described below
commit d28526e141de38f9d54b7113b9964266c1cac66f
Author: Soyaazz <[email protected]>
AuthorDate: Wed Dec 17 16:26:39 2025 +0800
fix(pd): pd raft-follower failed to get leader address due to npe (#2919)
---
.../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 ad6129236..8c7398a53 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
@@ -60,7 +60,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