forked from hugegraph/hugegraph-sync
fix(pd): log4j version conflict & follower NPE (#2339)
* fix: log4j version conflict * Update RaftRpcClient.java
This commit is contained in:
parent
fe7697e9a7
commit
823b1902eb
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -99,6 +99,12 @@
|
|||
<groupId>org.springframework.boot</groupId>
|
||||
<artifactId>spring-boot-starter-log4j2</artifactId>
|
||||
<version>2.5.14</version>
|
||||
<exclusions>
|
||||
<exclusion>
|
||||
<artifactId>log4j-slf4j-impl</artifactId>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
</exclusion>
|
||||
</exclusions>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.lmax</groupId>
|
||||
|
|
|
|||
Loading…
Reference in New Issue