git-hulk commented on issue #2671: URL: https://github.com/apache/kvrocks/issues/2671#issuecomment-2526666222
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. -- 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]
