Skip to content

Commit

Permalink
The value of PQ/BytesWriteOK for writing to a transaction (#12337)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alek5andr-Kotov authored Dec 6, 2024
1 parent 120f8d0 commit a417a28
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ydb/core/persqueue/partition_write.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit a417a28

Please sign in to comment.