[ 
https://issues.apache.org/jira/browse/IGNITE-16471?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17488173#comment-17488173
 ] 

Roman Puchkovskiy edited comment on IGNITE-16471 at 2/8/22, 7:09 AM:
---------------------------------------------------------------------

A preliminary request format is this:

POST /management/v1/cluster/init

{
"metastorageNodes": [
"node1ConsistentId",
"node2ConsistentId"
],
"cmgNodes": [
"node2ConsistentId",
"node3ConsistentId"
]
}
Not sure where to put it, so let it be here for now.


was (Author: rpuch):
A preliminary request format is this:
POST /management/v1/cluster/init
POST /management/v1/cluster/init

\{
    "metastorageNodes": [
        "node1ConsistentId",
        "node2ConsistentId"
    ],
    "cmgNodes": [
        "node2ConsistentId",
        "node3ConsistentId"
    ]
}
Not sure where to put it, so let it be here for now.

> Implement CMG manager
> ---------------------
>
>                 Key: IGNITE-16471
>                 URL: https://issues.apache.org/jira/browse/IGNITE-16471
>             Project: Ignite
>          Issue Type: Task
>            Reporter: Aleksandr Polovtcev
>            Assignee: Aleksandr Polovtcev
>            Priority: Major
>              Labels: ignite-3
>
> As part of the node join protocol, a special Raft group will be created: 
> Cluster Management Group (CMG). It is proposed to add a new component that is 
> responsible for working with this group. It should perform the following 
> actions:
>  # Register a message listener in case the group leader is elected and the 
> CMG node addresses are sent to all other member of the cluster.
>  # If a node is a member of the group and is elected as the leader, it should:
>  ## Initialize the group state upon creation: generate a cluster tag and add 
> it and the Ignite product version to the state machine.
>  ## Listen for join messages and validate incoming requests.
>  ## Add new nodes to the logical topology.
>  # If a node is not a member of the group, it should:
>  ## Send a join request to the group leader.
>  ## Process the response and send the "join ready" message after local 
> recovery is complete.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to