Skip to content

Commit 6f262d4

Browse files
[-] для изменения конфигурации пропускается шаг
1 parent cba9d6a commit 6f262d4

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

ydb/core/persqueue/pq_impl.cpp

+7-3
Original file line numberDiff line numberDiff line change
@@ -3508,15 +3508,19 @@ void TPersQueue::CheckTxState(const TActorContext& ctx,
35083508
if (tx.PartitionRepliesCount == tx.PartitionRepliesExpected) {
35093509
switch (tx.Kind) {
35103510
case NKikimrPQ::TTransaction::KIND_DATA:
3511+
SendEvReadSetToReceivers(ctx, tx);
35113512

3512-
[[fallthrough]];
3513+
WriteTx(tx, NKikimrPQ::TTransaction::WAIT_RS);
3514+
3515+
tx.State = NKikimrPQ::TTransaction::CALCULATED;
3516+
break;
35133517

35143518
case NKikimrPQ::TTransaction::KIND_CONFIG:
35153519
SendEvReadSetToReceivers(ctx, tx);
35163520

3517-
WriteTx(tx, NKikimrPQ::TTransaction::WAIT_RS);
3521+
tx.State = NKikimrPQ::TTransaction::WAIT_RS;
35183522

3519-
tx.State = NKikimrPQ::TTransaction::CALCULATED;
3523+
CheckTxState(ctx, tx);
35203524
break;
35213525

35223526
case NKikimrPQ::TTransaction::KIND_UNKNOWN:

0 commit comments

Comments
 (0)