csun5285 commented on code in PR #63771:
URL: https://github.com/apache/doris/pull/63771#discussion_r3345662218


##########
be/src/service/http/action/compaction_action.cpp:
##########
@@ -141,15 +140,6 @@ Status 
CompactionAction::_handle_run_compaction(HttpRequest* req, std::string* j
         return Status::NotSupported("The compaction type '{}' is not 
supported", compaction_type);
     }
 
-    // "remote" = "true" means tablet should do single replica compaction to 
fetch rowset from peer
-    bool fetch_from_remote = false;
-    std::string param_remote = req->param(PARAM_COMPACTION_REMOTE);
-    if (param_remote == "true") {
-        fetch_from_remote = true;
-    } else if (!param_remote.empty() && param_remote != "false") {
-        return Status::NotSupported("The remote = '{}' is not supported", 
param_remote);
-    }
-
     // "force" = "true" means skip permit limiter when submitting full 
compaction to thread pool
     bool force = false;
     std::string param_force = req->param(PARAM_COMPACTION_FORCE);

Review Comment:
   暂且保留



-- 
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]

Reply via email to