aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorazevaykin <145343289+azevaykin@users.noreply.github.com>2025-03-28 21:13:30 +0300
committerGitHub <noreply@github.com>2025-03-28 21:13:30 +0300
commit1aadeed07b3f33ebfc5ff35e63d374e5530bb832 (patch)
tree314d85d15abe51f18ce0e0263c1dc7def6c310e6
parent9f8a506f50673e78900f49ebc9371b1adc5d0657 (diff)
downloadydb-1aadeed07b3f33ebfc5ff35e63d374e5530bb832.tar.gz
Ydb::StatusIds::TIMEOUT is a retryable error (#16412)
-rw-r--r--ydb/core/tx/datashard/upload_stats.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ydb/core/tx/datashard/upload_stats.h b/ydb/core/tx/datashard/upload_stats.h
index 21372bb6fb5..8011b24d6e5 100644
--- a/ydb/core/tx/datashard/upload_stats.h
+++ b/ydb/core/tx/datashard/upload_stats.h
@@ -56,7 +56,10 @@ struct TUploadStatus {
}
bool IsRetriable() const {
- return StatusCode == Ydb::StatusIds::UNAVAILABLE || StatusCode == Ydb::StatusIds::OVERLOADED;
+ return StatusCode == Ydb::StatusIds::UNAVAILABLE
+ || StatusCode == Ydb::StatusIds::OVERLOADED
+ || StatusCode == Ydb::StatusIds::TIMEOUT
+ ;
}
TString ToString() const {