hll1213181368 commented on PR #3240:
URL: https://github.com/apache/kvrocks/pull/3240#issuecomment-3596025565

   > > if one of the threads fails, Others thread still migrate. But the total 
result is NotOK. This slotRange migrate failed. we need to analysis the problem 
or retry to migrate this slotRange.
   > > @git-hulk Do you think so? Or do you have any good idea?
   > 
   > I'm good with that allows the partial failure while doing the parallel 
migration. But the current implementation doesn't respect this behavior. We 
should collect and wait for all migration threads to finish, then check whether 
each is successful, partially successful, or a failure.
   
   @git-hulk The kvrocks-controller sends a range slots migration request, and 
the kvrocks node returns either success or failure result for the entire range. 
For a failed range, the kvrocks-controller is called again to retry the entire 
range. Successful slots within the range will be returned as successfully 
migrated, while failed slots will be migrated again. I think it's unnecessary 
for the kvrocks node to return which slots in the range succeeded and which 
failed.


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

Reply via email to