Distributed configuration is quite mysterious for me. It's not clear how to
update it. I don't know if it's in distributed-config.json file that I have
to do the modifications or
in default-distributed-db-config.json. In both cases that's not clear ho to
update it.
ANyway, I tried the follwoing with a 4 node setup on default config :
{
"autoDeploy": true,
"hotAlignment": false,
"executionMode": "undefined",
"readQuorum": 1,
"writeQuorum": 2,
"failureAvailableNodesLessQuorum": false,
"readYourWrites": true,
"clusters": {
"internal": {
},
"index": {
},
"t_node0": {"servers" : [ "node0","node1"]},
"t_node1": {"servers" : [ "node1","node2"]},
"t_node2": {"servers" : [ "node2","node3"]},
"t_node3": {"servers" : [ "node3","node0"]},
"*": {
"servers" : [ "<NEW_NODE>" ]
}
}
}
Then created a distibuted db on the 4 nodes. I issued "create cluster
t_node0" on node0 and it was replicated everywhere.
I don't understand.
Regards
--
---
You received this message because you are subscribed to the Google Groups
"OrientDB" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.