We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 693d13d commit 637db37Copy full SHA for 637db37
core/src/main/java/tech/ydb/core/impl/BaseGrpcTransport.java
@@ -243,7 +243,9 @@ private class ChannelStatusHandler implements GrpcStatusHandler {
243
@Override
244
public void accept(io.grpc.Status status, Metadata trailers) {
245
// Usually CANCELLED is received when ClientCall is canceled on client side
246
- if (!status.isOk() && status.getCode() != io.grpc.Status.Code.CANCELLED) {
+ if (!status.isOk() && status.getCode() != io.grpc.Status.Code.CANCELLED
247
+ && status.getCode() != io.grpc.Status.Code.DEADLINE_EXCEEDED
248
+ && status.getCode() != io.grpc.Status.Code.RESOURCE_EXHAUSTED) {
249
pessimizeEndpoint(channel.getEndpoint(), "by grpc code " + status.getCode());
250
}
251
0 commit comments