-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
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
[31/N][VirtualCluster] add virtual cluster documents #470
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
**Raylet Failover** | ||
When Rayle dies or restarts, the GCS Server will detect that the node is dead and then update the status of the corresponding node in the virtual cluster, and the virtual cluster manager will periodically check for dead nodes and replace them with new ones. | ||
|
||
There are 4 scenario that the virtual cluster manager will replenish new nodes for the virtual cluster, and the state of the virtual cluster need flush or publish: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are four scenarios in which the virtual cluster manager will replenish new nodes for the virtual cluster, and the state of the virtual cluster needs to be flushed or published:
1. Select new alive undivided node with the same node type as the dead one from :math:`V_{primary}` to replace the dead one. | ||
2. If there are still dead nodes inside :math:`V_{job}`, then continue to new alive undivided node with the same node type as the dead one from it's parent virtual cluster nodes :math:`V_{divisible}` to replace the dead one. | ||
3. If there are any dead node inside :math:`V_{job}` is replenished, then flush the :math:`V_{job}` to the storage and publish it to all the worker nodes. | ||
4. If there are any dead node inside :math:`V_{divisible}` (parent virtual cluster of :math:`V_{job}`) is replenished, then just flush the :math:`V_{divisible}`, without publish. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
without publishing
934daa2
to
5a67f24
Compare
doc/source/virtual-cluster/cli.rst
Outdated
|
||
**Output:** | ||
|
||
`Virtual cluster 'myCluster' created successfully` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
logical1
Signed-off-by: 黑驰 <[email protected]>
Why are these changes needed?
This PR is 31/N implementation of the VirtualCluster (see issue #409), Add virtual cluster documents.
Related issue number
Checks
git commit -s
) in this PR.scripts/format.sh
to lint the changes in this PR.method in Tune, I've added it in
doc/source/tune/api/
under thecorresponding
.rst
file.