dosubot[bot] commented on issue #2667:
URL:
https://github.com/apache/incubator-hugegraph/issues/2667#issuecomment-2374424445
<!-- Answer -->
The three `server.role` configurations define the role of nodes in the
HugeGraph cluster. The available types are:
1. **master**: This node acts as the master in the cluster, typically
responsible for coordinating the cluster and managing metadata.
2. **worker**: This node handles the actual data processing tasks in the
cluster.
3. **computer**: This node is used for computational tasks that are distinct
from the roles of master and worker nodes.
Here is the relevant configuration option:
```java
public static final ConfigOption<String> SERVER_ROLE =
new ConfigOption<>(
"server.role",
"The role of nodes in the cluster, available types are " +
"[master, worker, computer]",
allowValues("master", "worker", "computer"),
"master"
);
```
By setting the `server.role` configuration, you can define the specific role
of each node in your HugeGraph cluster
<sup>[[1]](https://github.com/apache/incubator-hugegraph-doc/blob/master/content/cn/docs/config/config-option.md)</sup><sup>[[2]](https://github.com/apache/incubator-hugegraph/blob/master/hugegraph-server/hugegraph-api/src/main/java/org/apache/hugegraph/config/ServerOptions.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]