You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@doris.apache.org by zh...@apache.org on 2019/12/16 05:45:27 UTC
[incubator-doris] branch master updated: Fix base_compaction minor
log error (#2461)
This is an automated email from the ASF dual-hosted git repository.
zhaoc 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 d00c5e3 Fix base_compaction minor log error (#2461)
d00c5e3 is described below
commit d00c5e3066660dc335edb826b2f71c106ec49062
Author: kangkaisen <ka...@apache.org>
AuthorDate: Mon Dec 16 13:45:19 2019 +0800
Fix base_compaction minor log error (#2461)
---
be/src/olap/storage_engine.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/be/src/olap/storage_engine.cpp b/be/src/olap/storage_engine.cpp
index edde455..3cf0cb5 100644
--- a/be/src/olap/storage_engine.cpp
+++ b/be/src/olap/storage_engine.cpp
@@ -567,7 +567,7 @@ void StorageEngine::perform_base_compaction(DataDir* data_dir) {
OLAPStatus res = base_compaction.compact();
if (res != OLAP_SUCCESS) {
best_tablet->set_last_compaction_failure_time(UnixMillis());
- if (res != OLAP_ERR_CUMULATIVE_NO_SUITABLE_VERSIONS) {
+ if (res != OLAP_ERR_BE_NO_SUITABLE_VERSION) {
DorisMetrics::base_compaction_request_failed.increment(1);
LOG(WARNING) << "failed to init base compaction. res=" << res
<< ", table=" << best_tablet->full_name();
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@doris.apache.org
For additional commands, e-mail: commits-help@doris.apache.org