This is an automated email from the ASF dual-hosted git repository.
xuyang pushed a commit to branch branch-1.2-lts
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-1.2-lts by this push:
new df66b1e33be [chore](branch-1.2) remove unnecessary deserialize in
tablet sink (#29191)
df66b1e33be is described below
commit df66b1e33be1b932b210de3877d07920eaad4701
Author: xy720 <[email protected]>
AuthorDate: Fri Dec 29 13:09:49 2023 +0800
[chore](branch-1.2) remove unnecessary deserialize in tablet sink (#29191)
---
be/src/vec/sink/vtablet_sink.cpp | 4 ----
1 file changed, 4 deletions(-)
diff --git a/be/src/vec/sink/vtablet_sink.cpp b/be/src/vec/sink/vtablet_sink.cpp
index 8f55a8ff9fe..012cbf0e7ca 100644
--- a/be/src/vec/sink/vtablet_sink.cpp
+++ b/be/src/vec/sink/vtablet_sink.cpp
@@ -300,10 +300,6 @@ void VNodeChannel::try_send_block(RuntimeState* state) {
_add_block_closure->clear_in_flight();
return;
}
- {
- vectorized::Block tmp_block(*request.mutable_block());
- CHECK(block.rows() == tmp_block.rows());
- }
if (compressed_bytes >= double(config::brpc_max_body_size) * 0.95f) {
LOG(WARNING) << "send block too large, this rpc may failed. send
size: "
<< compressed_bytes << ", threshold: " <<
config::brpc_max_body_size
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]