This is an automated email from the ASF dual-hosted git repository.
kxiao pushed a commit to branch branch-2.0
in repository https://gitbox.apache.org/repos/asf/doris.git
The following commit(s) were added to refs/heads/branch-2.0 by this push:
new 06e1c1ed189 [branch-2.0](publish version) publish version task no need
return VERSION_NOT_EXIST #27005 (#27174)
06e1c1ed189 is described below
commit 06e1c1ed18942a77e79d5a36d41834b7de2aaa72
Author: yujun <[email protected]>
AuthorDate: Fri Nov 17 21:52:27 2023 +0800
[branch-2.0](publish version) publish version task no need return
VERSION_NOT_EXIST #27005 (#27174)
---
be/src/olap/task/engine_publish_version_task.cpp | 5 -----
1 file changed, 5 deletions(-)
diff --git a/be/src/olap/task/engine_publish_version_task.cpp
b/be/src/olap/task/engine_publish_version_task.cpp
index 0713fbb778e..80dbb2e3d2e 100644
--- a/be/src/olap/task/engine_publish_version_task.cpp
+++ b/be/src/olap/task/engine_publish_version_task.cpp
@@ -243,11 +243,6 @@ Status EnginePublishVersionTask::finish() {
(*_succ_tablets)[tablet_id] = 0;
} else {
add_error_tablet_id(tablet_id);
- if (res.ok()) {
- res = Status::Error<VERSION_NOT_EXIST>(
- "tablet {} not exists version {}",
tablet_id,
- par_ver_info.version);
- }
LOG(WARNING) << "publish version failed on
transaction, tablet version not "
"exists. "
<< "transaction_id=" << transaction_id
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]