Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Seaton committed Jun 26, 2024
1 parent 2ad389c commit 14bae62
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cpp/arcticdb/codec/codec.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,8 @@ TimeseriesDescriptor unpack_timeseries_descriptor_from_proto(

auto tsd = timeseries_descriptor_from_any(any);
if (is_decoding_incompletes) {
// Prefer the stream descriptor on the segment header for incompletes.
// See PR #1647.
arcticc::pb2::descriptors_pb2::StreamDescriptor desc_proto;
copy_stream_descriptor_to_proto(stream_desc, desc_proto);
tsd.mutable_stream_descriptor()->CopyFrom(desc_proto);
Expand Down

0 comments on commit 14bae62

Please sign in to comment.