diff --git a/ydb/core/persqueue/partition_write.cpp b/ydb/core/persqueue/partition_write.cpp index f651e67af1da..c605036f75a4 100644 --- a/ydb/core/persqueue/partition_write.cpp +++ b/ydb/core/persqueue/partition_write.cpp @@ -452,6 +452,12 @@ void TPartition::SyncMemoryStateWithKVState(const TActorContext& ctx) { void TPartition::OnHandleWriteResponse(const TActorContext& ctx) { KVWriteInProgress = false; + + if (DeletePartitionState == DELETION_IN_PROCESS) { + // before deleting an supportive partition, it is necessary to summarize its work + HandleWakeup(ctx); + } + OnProcessTxsAndUserActsWriteComplete(ctx); HandleWriteResponse(ctx); ProcessTxsAndUserActs(ctx);