Hello,

I have below scenario

1)I have two server nodes i.e one on local machine and one on remote host.
2)When I start the first node the local node is added in the Baseline
topology:Here adc1c71b-c21b-47aa-8be6-6fa5ebaaa035 is the local node.

Current topology version: 2 (Coordinator:
ConsistentId=adc1c71b-c21b-47aa-8be6-6fa5ebaaa035, Order=1)

Baseline nodes:
    ConsistentId=adc1c71b-c21b-47aa-8be6-6fa5ebaaa035, State=ONLINE, Order=1
--------------------------------------------------------------------------------
Number of baseline nodes: 1

Other nodes:
    ConsistentId=5a9f4e0d-fba3-4786-aa61-936d2f207333, Order=2

3)However when I start the second node on remote host the local node is not
included in the Baseline Topology.As per my observance the joining node
faces this problem.(Here the local node is
5a9f4e0d-fba3-4786-aa61-936d2f207333 which is not included in baseline
topology)
Current topology version: 2 (Coordinator:
ConsistentId=adc1c71b-c21b-47aa-8be6-6fa5ebaaa035, Order=1)

Baseline nodes:
    ConsistentId=adc1c71b-c21b-47aa-8be6-6fa5ebaaa035, State=ONLINE, Order=1
--------------------------------------------------------------------------------
Number of baseline nodes: 1

Other nodes:
    ConsistentId=5a9f4e0d-fba3-4786-aa61-936d2f207333, Order=2
Number of other nodes: 1


4)Everything works fine when I add the local node using control.sh add
command.

5)As you suggested  I tried using auto adjust feature but the node is still
not added to baseline topology.

Cluster state: active
Current topology version: 2
Baseline auto adjustment enabled: softTimeout=5000
Baseline auto-adjust are not scheduled

Current topology version: 2 (Coordinator:
ConsistentId=adc1c71b-c21b-47aa-8be6-6fa5ebaaa035, Order=1)

Baseline nodes:
    ConsistentId=adc1c71b-c21b-47aa-8be6-6fa5ebaaa035, State=ONLINE, Order=1
--------------------------------------------------------------------------------
Number of baseline nodes: 1

Other nodes:
    ConsistentId=5a9f4e0d-fba3-4786-aa61-936d2f207333, Order=2
Number of other nodes: 1
Command [BASELINE] finished with code: 0
Control utility has completed execution at: 2020-08-11T19:35:54.746204
Execution time: 1078 ms

So i am looking for the clarification for below queries:

1)Why is auto adjustment not adding the nodes available to baseline
topology.

2)Is there any api in C++ to get the node names so that I can trigger
control.sh --baseline add from the code.

Thankyou,
Ali.




--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/

Reply via email to