Skip to content

Commit 713844c

Browse files
authored
Update operation.go
1 parent acbe370 commit 713844c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

internal/xerrors/operation.go

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,9 @@ func (e *operationError) Type() Type {
166166
Ydb.StatusIds_BAD_SESSION,
167167
Ydb.StatusIds_SESSION_BUSY:
168168
return TypeRetryable
169-
case Ydb.StatusIds_UNDETERMINED:
169+
case
170+
Ydb.StatusIds_UNDETERMINED,
171+
Ydb.StatusIds_SESSION_EXPIRED:
170172
return TypeConditionallyRetryable
171173
default:
172174
return TypeUndefined

0 commit comments

Comments
 (0)