Re: How do you know when a new node in a cluster is "synced"?

2017-01-25 Thread Garth Gutenberg
Great info. Thanks! On Wed, Jan 25, 2017 at 12:11 PM, Paul Davis wrote: > Garth, > > The way to tell when a cluster is sync'ed is by looking at the > `internal_replication_jobs` key in the JSON blob returned from the > _system endpoint on the 5984 port from each node in the cluster. Once > its

Re: How do you know when a new node in a cluster is "synced"?

2017-01-25 Thread Paul Davis
Garth, The way to tell when a cluster is sync'ed is by looking at the `internal_replication_jobs` key in the JSON blob returned from the _system endpoint on the 5984 port from each node in the cluster. Once its zero (or close to) on each node you're done getting data to the new node. Though it can

Re: How do you know when a new node in a cluster is "synced"?

2017-01-25 Thread Garth Gutenberg
Kind of a follow-up question to this. I've found in my testing that when a new node comes online in a cluster, it only syncs the raw data, but not the views. Is there a way to enable syncing of views across cluster nodes as well? Basically I want all the nodes in my cluster to be exact replicas

How do you know when a new node in a cluster is "synced"?

2017-01-25 Thread Garth Gutenberg
Scenario: I have a three node cluster. One of the nodes goes offline (server dies, whatever). I bring up a new node with no data and it starts sync'ing with the other nodes in the cluster. How do I know when this sync is complete and the new node has all the data? I'm dealing with thousands of