You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by yi...@apache.org on 2022/05/07 00:39:29 UTC
[incubator-doris] branch master updated: [fixbug][compaction] update OLAP_ERR_CUMULATIVE_NO_SUITABLE_VERSION (#9410)
This is an automated email from the ASF dual-hosted git repository.
yiguolei pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-doris.git
The following commit(s) were added to refs/heads/master by this push:
new e7f12db06c [fixbug][compaction] update OLAP_ERR_CUMULATIVE_NO_SUITABLE_VERSION (#9410)
e7f12db06c is described below
commit e7f12db06c825003312ab99a5f7a15425233047f
Author: Gabriel <ga...@gmail.com>
AuthorDate: Sat May 7 08:39:20 2022 +0800
[fixbug][compaction] update OLAP_ERR_CUMULATIVE_NO_SUITABLE_VERSION (#9410)
---
be/src/common/status.h | 2 +-
be/src/http/action/compaction_action.cpp | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/be/src/common/status.h b/be/src/common/status.h
index 60ebfc3c4b..f9bdfc7acf 100644
--- a/be/src/common/status.h
+++ b/be/src/common/status.h
@@ -201,7 +201,7 @@ namespace doris {
M(OLAP_ERR_DELETE_SAVE_HEADER_FAILED, -1902, "", true) \
M(OLAP_ERR_DELETE_INVALID_PARAMETERS, -1903, "", true) \
M(OLAP_ERR_DELETE_INVALID_VERSION, -1904, "", true) \
- M(OLAP_ERR_CUMULATIVE_NO_SUITABLE_VERSION, -2000, "", true) \
+ M(OLAP_ERR_CUMULATIVE_NO_SUITABLE_VERSION, -2000, "", false) \
M(OLAP_ERR_CUMULATIVE_REPEAT_INIT, -2001, "", true) \
M(OLAP_ERR_CUMULATIVE_INVALID_PARAMETERS, -2002, "", true) \
M(OLAP_ERR_CUMULATIVE_FAILED_ACQUIRE_DATA_SOURCE, -2003, "", true) \
diff --git a/be/src/http/action/compaction_action.cpp b/be/src/http/action/compaction_action.cpp
index 5501b774f1..dada06b42a 100644
--- a/be/src/http/action/compaction_action.cpp
+++ b/be/src/http/action/compaction_action.cpp
@@ -223,7 +223,7 @@ Status CompactionAction::_execute_compaction_callback(TabletSharedPtr tablet,
CumulativeCompaction cumulative_compaction(tablet);
res = cumulative_compaction.compact();
if (!res) {
- if (res == Status::OLAPInternalError(OLAP_ERR_BE_NO_SUITABLE_VERSION)) {
+ if (res == Status::OLAPInternalError(OLAP_ERR_CUMULATIVE_NO_SUITABLE_VERSION)) {
// Ignore this error code.
VLOG_NOTICE << "failed to init cumulative compaction due to no suitable version,"
<< "tablet=" << tablet->full_name();
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org