Syncgateway connection to couchbase cluster

On initial communication with the Couchbase cluster node defined in the Sync Gateway config, it retrieves the full set of cluster nodes and uses that set of nodes going forward. Sync Gateway also receives updates on changes to the cluster topology while connected.

It’s not really ‘connecting to a random node’ for a given operation - the node used depends on the data, and specifically where the vbucket corresponding to that data resides.