Hi,
I use couchnode to connect to a couchbase cluster
the cluster is scaled to add or remove servers depending on the charge , is it necessary to update the list of server each time we change the list or the client can it by itself?
let s say we have 3 servers , cbase01.myproject.com cbase02.myproject.com cbase03.myproject.com
my node.js code is :
var serverList = "couchbase://cbase01.myproject.com,cbase02.myproject.com,cbase03.myproject.com"
var cluster = new couchbase.Cluster(serverList)
is it the right way to connect , or giving only one server will be ok ?
if I add cbase04 does it have to update to :
var serverList = "couchbase://cbase01.myproject.com,cbase02.myproject.com,cbase03.myproject.com,cbase04.myproject.com"
var cluster = new couchbase.Cluster(serverList)