From 14bae62fd347cc2d2abcc96e3b65e78616a0e60f Mon Sep 17 00:00:00 2001 From: Alex Seaton Date: Tue, 25 Jun 2024 13:14:35 +0100 Subject: [PATCH] Add comment --- cpp/arcticdb/codec/codec.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cpp/arcticdb/codec/codec.cpp b/cpp/arcticdb/codec/codec.cpp index 72e125428c..b2674dc35e 100644 --- a/cpp/arcticdb/codec/codec.cpp +++ b/cpp/arcticdb/codec/codec.cpp @@ -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);