yiguolei commented on code in PR #9410:
URL: https://github.com/apache/incubator-doris/pull/9410#discussion_r866704836
##########
be/src/http/action/compaction_action.cpp:
##########
@@ -223,19 +219,32 @@ 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)) {
- // Ignore this error code.
- VLOG_NOTICE << "failed to init cumulative compaction due to no
suitable version,"
- << "tablet=" << tablet->full_name();
- } else {
+ if (res !=
Status::OLAPInternalError(OLAP_ERR_CUMULATIVE_NO_SUITABLE_VERSION)) {
Review Comment:
Set OLAP_ERR_CUMULATIVE_NO_SUITABLE_VERSION to false in status.h will
resolve the problem
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]