[
https://issues.apache.org/jira/browse/IGNITE-16526?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Aleksandr Polovtcev updated IGNITE-16526:
-----------------------------------------
Description:
According to the join protocol, we are going to have two types of node
topologies: "physical" (a.k.a. network) topology and "logical" topology. It may
be convenient for the user to know which nodes have passed validation and have
joined the logical topology, therefore it is suggested to implement a CLI
command for this purpose.
h2. Proposed API
{code:java}
./ignite cluster topology --node-endpoint=??? {code}
* --node-endpoint - address of the REST endpoint of the receiving node in
host:port format
It should return a response like the following (it can also be pretty-printed
as a table):
{code:java}
ID, consistent ID, address, status
{code}
* ID - node local ID (that changes between restarts)
* consisntent ID - node consistent ID (that doesn't change between restarts)
* address - node IP address
* status - node status. Node statuses are going to be finalized when node
recovery is implemented and may be omitted during this feature development.
was:
According to the join protocol, we are going to have two types of node
topologies: "physical" (a.k.a. network) topology and "logical" topology. It may
be convenient for the user to know which nodes have passed validation and have
joined the logical topology, therefore it is suggested to implement a CLI
command for this purpose.
Proposed API may look like this:
> Create a CLI command for getting logical topology
> -------------------------------------------------
>
> Key: IGNITE-16526
> URL: https://issues.apache.org/jira/browse/IGNITE-16526
> Project: Ignite
> Issue Type: New Feature
> Reporter: Aleksandr Polovtcev
> Priority: Major
> Labels: ignite-3
>
> According to the join protocol, we are going to have two types of node
> topologies: "physical" (a.k.a. network) topology and "logical" topology. It
> may be convenient for the user to know which nodes have passed validation and
> have joined the logical topology, therefore it is suggested to implement a
> CLI command for this purpose.
> h2. Proposed API
> {code:java}
> ./ignite cluster topology --node-endpoint=??? {code}
> * --node-endpoint - address of the REST endpoint of the receiving node in
> host:port format
> It should return a response like the following (it can also be pretty-printed
> as a table):
>
> {code:java}
> ID, consistent ID, address, status
> {code}
> * ID - node local ID (that changes between restarts)
> * consisntent ID - node consistent ID (that doesn't change between restarts)
> * address - node IP address
> * status - node status. Node statuses are going to be finalized when node
> recovery is implemented and may be omitted during this feature development.
>
>
>
--
This message was sent by Atlassian Jira
(v8.20.1#820001)