Skip to content

Commit

Permalink
Merge c7b3460 into a268c7d
Browse files Browse the repository at this point in the history
  • Loading branch information
niksaveliev authored Oct 14, 2024
2 parents a268c7d + c7b3460 commit 9ee27da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions ydb/services/persqueue_v1/actors/partition_actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
Expand Down
2 changes: 1 addition & 1 deletion ydb/services/persqueue_v1/actors/read_session_actor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1739,6 +1739,7 @@ i64 TFormedReadResponse<TServerMessage>::ApplyResponse(TServerMessage&& resp) {
return ByteSize - prev;
}


template <typename TServerMessage>
i64 TFormedReadResponse<TServerMessage>::ApplyDirectReadResponse(TEvPQProxy::TEvDirectReadResponse::TPtr& ev) {

Expand All @@ -1755,7 +1756,6 @@ i64 TFormedReadResponse<TServerMessage>::ApplyDirectReadResponse(TEvPQProxy::TEv
return diff;
}


template <bool UseMigrationProtocol>
void TReadSessionActor<UseMigrationProtocol>::Handle(typename TEvReadResponse::TPtr& ev, const TActorContext& ctx) {
if (!ActualPartitionActors.contains(ev->Sender)) {
Expand Down

0 comments on commit 9ee27da

Please sign in to comment.