Skip to content

Commit

Permalink
Fix error for evwrite : UNAVAILABLE -> UNDETERMINED (#14889)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikvas0 authored Feb 21, 2025
1 parent 899703e commit 4ca0181
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ydb/core/kqp/runtime/kqp_write_actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ class TKqpTableWriteActor : public TActorBootstrapped<TKqpTableWriteActor> {
Schedule(reattachState.ReattachInfo.Delay, new TEvPrivate::TEvReattachToShard(ev->Get()->TabletId));
} else {
TxManager->SetError(ev->Get()->TabletId);
if (Mode == EMode::IMMEDIATE_COMMIT) {
if (Mode == EMode::IMMEDIATE_COMMIT || Mode == EMode::COMMIT) {
RuntimeError(
NYql::NDqProto::StatusIds::UNDETERMINED,
NYql::TIssuesIds::KIKIMR_OPERATION_STATE_UNKNOWN,
Expand Down

0 comments on commit 4ca0181

Please sign in to comment.