platoneko commented on code in PR #16644:
URL: https://github.com/apache/doris/pull/16644#discussion_r1103845854


##########
be/src/olap/task/engine_clone_task.cpp:
##########
@@ -98,6 +98,12 @@ Status EngineCloneTask::_do_clone() {
         if (missed_versions.empty()) {
             LOG(INFO) << "missed version size = 0, skip clone and return 
success. tablet_id="
                       << _clone_req.tablet_id << " req replica=" << 
_clone_req.replica_id;
+            // update replica id to meet cooldown replica

Review Comment:
   Seems only `if (_clone_req.replica_id != tablet->replica_id())` should reset 
replica id.



-- 
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: commits-unsubscr...@doris.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


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

Reply via email to