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 f51f51fd706 [branch-2.0](publish version) reduce publish version not 
exist log #27332 (#28324)
f51f51fd706 is described below

commit f51f51fd706010e9b083e5f251a4bf92426c2829
Author: yujun <yu.jun.re...@gmail.com>
AuthorDate: Sat Dec 16 21:29:28 2023 +0800

    [branch-2.0](publish version) reduce publish version not exist log #27332 
(#28324)
---
 be/src/olap/task/engine_publish_version_task.cpp | 13 ++++++++-----
 1 file changed, 8 insertions(+), 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 eed0deb03c4..3504d8a9280 100644
--- a/be/src/olap/task/engine_publish_version_task.cpp
+++ b/be/src/olap/task/engine_publish_version_task.cpp
@@ -256,11 +256,14 @@ Status EnginePublishVersionTask::finish() {
                         (*_succ_tablets)[tablet_id] = 0;
                     } else {
                         add_error_tablet_id(tablet_id);
-                        LOG(WARNING) << "publish version failed on 
transaction, tablet version not "
-                                        "exists. "
-                                     << "transaction_id=" << transaction_id
-                                     << ", tablet_id=" << tablet_id
-                                     << ", version=" << par_ver_info.version;
+                        if (!res.is<PUBLISH_VERSION_NOT_CONTINUOUS>()) {
+                            LOG(WARNING)
+                                    << "publish version failed on transaction, 
tablet version not "
+                                       "exists. "
+                                    << "transaction_id=" << transaction_id
+                                    << ", tablet_id=" << tablet_id
+                                    << ", version=" << par_ver_info.version;
+                        }
                     }
                 }
             }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to