Skip to content

Commit a332ef8

Browse files
Merge a911293 into d0b724a
2 parents d0b724a + a911293 commit a332ef8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ydb/core/persqueue/partition.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2290,7 +2290,7 @@ void TPartition::CommitWriteOperations(TTransaction& t)
22902290

22912291
if (!t.WriteInfo->BlobsFromHead.empty()) {
22922292
auto& first = t.WriteInfo->BlobsFromHead.front();
2293-
NewHead.PartNo = first.GetPartNo();
2293+
NewHead.PartNo += first.GetPartNo();
22942294

22952295
Parameters->HeadCleared = Parameters->HeadCleared || !t.WriteInfo->BodyKeys.empty();
22962296

0 commit comments

Comments
 (0)