aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNikolay Shestakov <tesseract@ydb.tech>2024-04-11 11:38:55 +0500
committerGitHub <noreply@github.com>2024-04-11 11:38:55 +0500
commit14e876e861934afe486eb820d59fdc98691a4306 (patch)
tree5c28d7ccd7c627b404e9acb93a81edeab522a59f
parent0a2d16d657b1098b12c967347172f51385479e2d (diff)
downloadydb-14e876e861934afe486eb820d59fdc98691a4306.tar.gz
add [[fallthrough]] (#3551)
-rw-r--r--ydb/core/http_proxy/http_req.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/ydb/core/http_proxy/http_req.cpp b/ydb/core/http_proxy/http_req.cpp
index 629d70405f..f7aee26f52 100644
--- a/ydb/core/http_proxy/http_req.cpp
+++ b/ydb/core/http_proxy/http_req.cpp
@@ -511,11 +511,15 @@ namespace NKikimr::NHttpProxy {
switch (retryClass) {
case ERetryErrorClass::ShortRetry:
+ [[fallthrough]];
+
case ERetryErrorClass::LongRetry:
RetryCounter.Click();
if (RetryCounter.HasAttemps()) {
return HttpContext.Driver ? SendGrpcRequest(ctx) : SendGrpcRequestNoDriver(ctx);
}
+ [[fallthrough]];
+
case ERetryErrorClass::NoRetry: {
TString errorText;
TStringOutput stringOutput(errorText);