Skip to content

Commit 621bc99

Browse files
authored
25-1: Ydb::StatusIds::TIMEOUT is a retryable error (#16419)
1 parent 5b49424 commit 621bc99

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ydb/core/tx/datashard/upload_stats.h

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,10 @@ struct TUploadStatus {
5656
}
5757

5858
bool IsRetriable() const {
59-
return StatusCode == Ydb::StatusIds::UNAVAILABLE || StatusCode == Ydb::StatusIds::OVERLOADED;
59+
return StatusCode == Ydb::StatusIds::UNAVAILABLE
60+
|| StatusCode == Ydb::StatusIds::OVERLOADED
61+
|| StatusCode == Ydb::StatusIds::TIMEOUT
62+
;
6063
}
6164

6265
TString ToString() const {

0 commit comments

Comments
 (0)