I have a few questions about this example from the orientjs github docs:
var server = OrientDB({
host: '10.0.1.5',
port: 2424,
username: 'root',
password: 'root',
servers : [{host : '10.0.1.5' , port : 2425}]
});
1) yes does not need to contain the server.
2) yes they are used for the first connection then, when connected each time the cluster shape changes the driver gets notified.
3) The connection is established with the first in the list. then it will stick there until fails.
4) per-connect
5) transparently retry the next server in the list