Skip to content

Commit b2cb6b0

Browse files
committed
fix
1 parent ae85998 commit b2cb6b0

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

ydb/services/persqueue_v1/actors/read_session_actor.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1729,7 +1729,6 @@ i64 TFormedReadResponse<TServerMessage>::ApplyResponse(TServerMessage&& resp) {
17291729
auto* partition_data = resp.mutable_data_batch()->mutable_partition_data(0);
17301730
Y_ABORT_UNLESS(partition_data != nullptr && partition_data->batches_size() > 0);
17311731

1732-
// Проходим по всем батчам и устанавливаем codec в 0, если он равен -1
17331732
for (auto& batch : *partition_data->mutable_batches()) {
17341733
for (auto& message_data : *batch.mutable_message_data()) {
17351734
if (message_data.codec() == Ydb::PersQueue::V1::CODEC_UNSPECIFIED) {
@@ -1743,7 +1742,6 @@ i64 TFormedReadResponse<TServerMessage>::ApplyResponse(TServerMessage&& resp) {
17431742
auto* partition_data = resp.mutable_read_response()->mutable_partition_data(0);
17441743
Y_ABORT_UNLESS(partition_data != nullptr && partition_data->batches_size() > 0);
17451744

1746-
// Проходим по всем батчам и устанавливаем codec в 0, если он равен -1
17471745
for (auto& batch : *partition_data->mutable_batches()) {
17481746
if (batch.codec() == Ydb::Topic::CODEC_UNSPECIFIED) {
17491747
batch.set_codec(Ydb::Topic::CODEC_RAW);

0 commit comments

Comments
 (0)