Skip to content

Commit 14c8626

Browse files
authored
Merge 8740d06 into eeb2175
2 parents eeb2175 + 8740d06 commit 14c8626

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ydb/core/tx/datashard/cdc_stream_heartbeat.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,10 @@ class TDataShard::TTxCdcStreamEmitHeartbeats: public NTabletFlatExecutor::TTrans
3333
TTxType GetTxType() const override { return TXTYPE_CDC_STREAM_EMIT_HEARTBEATS; }
3434

3535
bool Execute(TTransactionContext& txc, const TActorContext&) override {
36+
if (Self->State != TShardState::Ready) {
37+
return true;
38+
}
39+
3640
LOG_I("Emit change records"
3741
<< ": edge# " << Edge
3842
<< ", at tablet# " << Self->TabletID());

0 commit comments

Comments
 (0)