dosubot[bot] commented on issue #2667:
URL: 
https://github.com/apache/incubator-hugegraph/issues/2667#issuecomment-2380671816

   <!-- Answer -->
   Yes, setting `server.role=computer` does not prevent the error "The server 
with name 'server-1' already in cluster" from being triggered. The system still 
checks for the existence of `serverinfo` regardless of the server role. If the 
server info for `server-1` already exists in the cluster, you will encounter 
this error.
   
   To avoid this issue, ensure that each server in the cluster has a unique 
`server.id` in the `rest-server.properties` configuration file:
   
   ```properties
   server.id=unique-server-id
   server.role=computer
   ```
   
   This will prevent conflicts and ensure that each server can join the cluster 
without triggering the error 
<sup>[[1]](https://github.com/apache/incubator-hugegraph/blob/master/hugegraph-server/hugegraph-core/src/main/java/org/apache/hugegraph/task/ServerInfoManager.java)</sup>.
   
   
   <!-- Dosu Comment Footer -->
   *To continue talking to [Dosu](https://dosu.dev), mention @dosu.*
   


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