LindaSummer commented on issue #2671:
URL: https://github.com/apache/kvrocks/issues/2671#issuecomment-2526691601

   > The command `cluster setnodes` needs to stop the existing replication 
thread first before switching to the new master. So it will [stop the 
replication 
thread](https://github.com/apache/kvrocks/blob/698c3d4cedb7321b70bb4b4b2bc0abc9cd8db337/src/server/server.cc#L274)
 when adding the new master, but found the replication thread is hanging on 
fetching SST files for the sake of the connect/read timeout isn't set and the 
master is lost.
   > 
   > 
   > 
   > It will wait for about 3s after the PR #2662.
   
   Hi @git-hulk ,
   
   Thanks for your detailed analysis! I will try this way today. 😊
   
   By the way, do we have a way to confirm the SST file fetching status or 
force triggering the SST file syncing in cluster mode? 😊
   
   Best Regards,
   Edward


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