diff --git a/ydb/services/persqueue_v1/actors/partition_actor.cpp b/ydb/services/persqueue_v1/actors/partition_actor.cpp index 326571da03ec..ad926c590c2c 100644 --- a/ydb/services/persqueue_v1/actors/partition_actor.cpp +++ b/ydb/services/persqueue_v1/actors/partition_actor.cpp @@ -419,6 +419,11 @@ bool FillBatchedData( hasOffset = true; auto proto(GetDeserializedData(r.GetData())); + + if (!proto.has_codec()) { + proto.set_codec(NPersQueueCommon::RAW); + } + if (proto.GetChunkType() != NKikimrPQClient::TDataChunk::REGULAR) { continue; //TODO - no such chunks must be on prod } diff --git a/ydb/services/persqueue_v1/actors/read_session_actor.cpp b/ydb/services/persqueue_v1/actors/read_session_actor.cpp index 1172b5ef0697..141d330650f9 100644 --- a/ydb/services/persqueue_v1/actors/read_session_actor.cpp +++ b/ydb/services/persqueue_v1/actors/read_session_actor.cpp @@ -1739,6 +1739,7 @@ i64 TFormedReadResponse::ApplyResponse(TServerMessage&& resp) { return ByteSize - prev; } + template i64 TFormedReadResponse::ApplyDirectReadResponse(TEvPQProxy::TEvDirectReadResponse::TPtr& ev) { @@ -1755,7 +1756,6 @@ i64 TFormedReadResponse::ApplyDirectReadResponse(TEvPQProxy::TEv return diff; } - template void TReadSessionActor::Handle(typename TEvReadResponse::TPtr& ev, const TActorContext& ctx) { if (!ActualPartitionActors.contains(ev->Sender)) {