From 7c12b39b932fb5b65cd0227d6ddeedfece57198c Mon Sep 17 00:00:00 2001 From: Qiang Zhao Date: Wed, 15 Jan 2025 18:21:12 +0800 Subject: [PATCH] fix(grpc): disable transparent retry (#199) --- .../src/main/java/io/streamnative/oxia/client/grpc/OxiaStub.java | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/main/java/io/streamnative/oxia/client/grpc/OxiaStub.java b/client/src/main/java/io/streamnative/oxia/client/grpc/OxiaStub.java index 83fb697f..f7641795 100644 --- a/client/src/main/java/io/streamnative/oxia/client/grpc/OxiaStub.java +++ b/client/src/main/java/io/streamnative/oxia/client/grpc/OxiaStub.java @@ -65,6 +65,7 @@ public OxiaStub( .keepAliveTime(clientConfig.connectionKeepAliveTime().toMillis(), MILLISECONDS) .keepAliveTimeout(clientConfig.connectionKeepAliveTimeout().toMillis(), MILLISECONDS) .keepAliveWithoutCalls(true) + .disableRetry() .directExecutor() .build(), clientConfig.authentication(), backoffProvider); }