Hi,
C++ API doesn't contain the methods to update the baseline. So, in this
case, you can use Java API for it:
Add the code that will listen to the EVT_NODE_JOINED event
private final IgniteEx ignite;
ignite.events().localListen(event -> {
DiscoveryEvent e = (DiscoveryEvent)event;
final long topVer = e.topologyVersion();
ignite.cluster().setBaselineTopology(topVer);
return true;
}, EventType.EVT_NODE_JOINED);
The whole example you can see here:
https://apacheignite.readme.io/docs/baseline-topology#section-triggering-rebalancing-programmatically
BR,
Andrei
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/