mymeiyi commented on code in PR #65907:
URL: https://github.com/apache/doris/pull/65907#discussion_r3803285608
##########
be/src/cloud/pb_convert.cpp:
##########
@@ -79,6 +79,7 @@ void doris_rowset_meta_to_cloud(RowsetMetaCloudPB* out, const
RowsetMetaPB& in)
}
out->set_txn_expiration(in.txn_expiration());
out->set_segments_overlap_pb(in.segments_overlap_pb());
+ out->mutable_segment_group_sizes()->CopyFrom(in.segment_group_sizes());
Review Comment:
It is a repeated field, so there is no has_segment_group_sizes(). CopyFrom()
safely handles an empty list and correctly clears any existing destination
values.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]