File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -1133,6 +1133,11 @@ void TPersQueue::ReadConfig(const NKikimrClient::TKeyValueResponse::TReadResult&
1133
1133
1134
1134
PQ_LOG_D (" Load tx " << tx.ShortDebugString ());
1135
1135
1136
+ if (tx.GetState () == NKikimrPQ::TTransaction::CALCULATED) {
1137
+ PQ_LOG_D (" fix tx state" );
1138
+ tx.SetState (NKikimrPQ::TTransaction::PLANNED);
1139
+ }
1140
+
1136
1141
Txs.emplace (tx.GetTxId (), tx);
1137
1142
1138
1143
if (tx.HasStep ()) {
@@ -4284,10 +4289,6 @@ void TPersQueue::CheckTxState(const TActorContext& ctx,
4284
4289
break ;
4285
4290
4286
4291
case NKikimrPQ::TTransaction::CALCULATED:
4287
- Y_ABORT_UNLESS (tx.WriteInProgress ,
4288
- " PQ %" PRIu64 " , TxId %" PRIu64,
4289
- TabletID (), tx.TxId );
4290
-
4291
4292
tx.State = NKikimrPQ::TTransaction::WAIT_RS;
4292
4293
PQ_LOG_D (" TxId " << tx.TxId <<
4293
4294
" , NewState " << NKikimrPQ::TTransaction_EState_Name (tx.State ));
You can’t perform that action at this time.
0 commit comments