Skip to content

Commit 5e2ce65

Browse files
nshestakovGazizonoki
authored andcommitted
Moved commit "Support for autopartitioning topics for replication" from ydb repo
1 parent ca007c0 commit 5e2ce65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/ydb-cpp-sdk/client/topic/read_events.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -293,12 +293,12 @@ struct TReadSessionEvent {
293293
TEndPartitionSessionEvent(TPartitionSession::TPtr partitionSession, std::vector<uint32_t>&& adjacentPartitionIds, std::vector<uint32_t>&& childPartitionIds);
294294

295295
//! A list of the partition IDs that also participated in the partition's merge.
296-
const std::vector<uint32_t> GetAdjacentPartitionIds() const {
296+
const std::vector<uint32_t>& GetAdjacentPartitionIds() const {
297297
return AdjacentPartitionIds;
298298
}
299299

300300
//! A list of partition IDs that were obtained as a result of merging or splitting this partition.
301-
const std::vector<uint32_t> GetChildPartitionIds() const {
301+
const std::vector<uint32_t>& GetChildPartitionIds() const {
302302
return ChildPartitionIds;
303303
}
304304

0 commit comments

Comments
 (0)