Skip to content

Commit cd4759f

Browse files
fix validation
1 parent 9c6b3f1 commit cd4759f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/core/tx/tx_proxy/upload_rows_common_impl.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1339,7 +1339,7 @@ class TUploadRowsBase : public TActorBootstrapped<TUploadRowsBase<DerivedActivit
13391339
if (LongTxId != NLongTxService::TLongTxId()) {
13401340
// LongTxId is reset after successful commit
13411341
// If it si still there it means we need to rollback
1342-
Y_DEBUG_ABORT_UNLESS(status != ::Ydb::StatusIds::SUCCESS);
1342+
Y_DEBUG_ABORT_UNLESS(status != ::Ydb::StatusIds::SUCCESS || ImmediateWrite);
13431343
RollbackLongTx(ctx);
13441344
}
13451345
Span.EndOk();

0 commit comments

Comments
 (0)