We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
None
org.apache.hugegraph.computer.core.common.ContainerInfo found incorrect comment.
/* * There is only 1 master, and the id of master is -1. * The id of workers start from 0. The id is used to identify a worker. */ private int id;
this.masterInfo = new ContainerInfo(ContainerInfo.MASTER_ID, TransportUtil.host(rpcAddress), rpcAddress.getPort()); int ContainerInfo.MASTER_ID = 0;
private void assignIdForWorkers(List<ContainerInfo> containers) { // Assign worker id from 1. for (int i = 0; i < containers.size(); i++) { containers.get(i).id(i + 1); } }
So:
The text was updated successfully, but these errors were encountered:
fix apache#267
ec06513
Successfully merging a pull request may close this issue.
Bug Type (问题类型)
None
Before submit
Environment (环境信息)
Expected & Actual behavior (期望与实际表现)
org.apache.hugegraph.computer.core.common.ContainerInfo found incorrect comment.
Incorrect comment:
Actual code:
So:
The text was updated successfully, but these errors were encountered: