I'm trying to explain me better :
Please take the example here :
http://orientdb.com/docs/last/Distributed-Sharding.htmlThe configuration is as follows :
{
"autoDeploy": true,
"hotAlignment": false,
"readQuorum": 1,
"writeQuorum": 2,
"failureAvailableNodesLessQuorum": false,
"readYourWrites": true,
"clusters": {
"internal": {
},
"index": {
},
"client_usa": {
"servers" : [ "usa", "europe" ]
},
"client_europe": {
"servers" : [ "europe" ]
},
"client_china": {
"servers" : [ "china", "usa", "europe" ]
},
"*": {
"servers" : [ "<NEW_NODE>" ]
}
}
}
My understanding is that :
- the replication factor of cluster
client_usa
is 2 ;
-
the replication factor of cluster
client_europe
is 1 ;
- the replication factor of cluster
client_china
is 3 ;
I find it heavy to have to set the replication nodes of each cluster.
I would have found it easier to be able to say : I want a replication factor of 2 by default,
which means by default, the cluster is stored on its normal node and replicated on (any)one of
the other available (this is really RAID10)
My understanding about the following part :
"*": {
"servers" : [ "<NEW_NODE>" ]
}
it means that by default all the cluster will be replicated to all the nodes : for me this is not write-scalable.
Regards