Skip to content

Commit 2443d0c

Browse files
committed
fix
1 parent b8b3eea commit 2443d0c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

ydb/core/persqueue/partition.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2443,7 +2443,8 @@ void TPartition::EndChangePartitionConfig(NKikimrPQ::TPQTabletConfig&& config,
24432443
keyRange = TPartitionKeyRange::Parse(mg.GetKeyRange());
24442444
}
24452445

2446-
SourceIdStorage.RegisterSourceIdInfo(mg.GetId(), TSourceIdInfo(0, 0, ctx.Now(), std::move(keyRange)), true);
2446+
TSourceIdInfo sourceId(0, 0, ctx.Now(), std::move(keyRange), false);
2447+
SourceIdStorage.RegisterSourceIdInfo(mg.GetId(), std::move(sourceId), true);
24472448
}
24482449

24492450
TopicConverter = topicConverter;

ydb/core/persqueue/pq_impl.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1807,7 +1807,7 @@ void TPersQueue::AddCmdWriteConfig(TEvKeyValue::TEvRequest* request,
18071807
keyRange = TPartitionKeyRange::Parse(mg.GetKeyRange());
18081808
}
18091809

1810-
sourceIdWriter.RegisterSourceId(mg.GetId(), 0, 0, ctx.Now(), std::move(keyRange));
1810+
sourceIdWriter.RegisterSourceId(mg.GetId(), 0, 0, ctx.Now(), std::move(keyRange), false);
18111811
}
18121812

18131813
for (const auto& partition : cfg.GetPartitions()) {

0 commit comments

Comments
 (0)