diff --git a/ydb/core/kqp/executer_actor/kqp_data_executer.cpp b/ydb/core/kqp/executer_actor/kqp_data_executer.cpp index 61890e443702..68e29f6e3d82 100644 --- a/ydb/core/kqp/executer_actor/kqp_data_executer.cpp +++ b/ydb/core/kqp/executer_actor/kqp_data_executer.cpp @@ -850,6 +850,7 @@ class TKqpDataExecuter: public TKqpExecuterBase, pu } return; } + case NKikimrDataEvents::TEvWriteResult::STATUS_DISK_SPACE_EXHAUSTED: { + CA_LOG_E("Got DISK_SPACE_EXHAUSTED for table `" + << SchemeEntry->TableId.PathId.ToString() << "`." + << " ShardID=" << ev->Get()->Record.GetOrigin() << "," + << " Sink=" << this->SelfId() << "." + << getIssues().ToOneLineString()); + + RuntimeError( + TStringBuilder() << "Got DISK_SPACE_EXHAUSTED for table `" + << SchemeEntry->TableId.PathId.ToString() << "`.", + NYql::NDqProto::StatusIds::PRECONDITION_FAILED, + getIssues()); + return; + } case NKikimrDataEvents::TEvWriteResult::STATUS_OVERLOADED: { CA_LOG_W("Got OVERLOADED for table `" << SchemeEntry->TableId.PathId.ToString() << "`." diff --git a/ydb/core/protos/data_events.proto b/ydb/core/protos/data_events.proto index 1f0edb1d24ce..804665fd1211 100644 --- a/ydb/core/protos/data_events.proto +++ b/ydb/core/protos/data_events.proto @@ -129,6 +129,7 @@ message TEvWriteResult { STATUS_BAD_REQUEST = 7; STATUS_SCHEME_CHANGED = 8; STATUS_LOCKS_BROKEN = 9; + STATUS_DISK_SPACE_EXHAUSTED = 10; } // Status