I would expect them to match unless internal replication is not happening correctly. Our doc counts on our shards are the same.
Shawn
You should short circuit the validation if the user has the "_admin"
role. Once you have that set then you should run an
_all_docs?include_docs=true over the database and it should fix itself
up.
On Mon, Oct 29, 2012 at 11:09 AM, Paul Davis <paul.jos...@gmail.com> wrote:You should short circuit the validation if the user has the "_admin"
role. Once you have that set then you should run an
_all_docs?include_docs=true over the database and it should fix itself
up.Excellent. Can't thank you enough for that tip. I'll give it a shot later today and report back either way so the loop is closed.
What I might do next is try to figure out which is the node whose shards have the highest document count (which should be "correct" given the nature of this database), copy those shards to the other two servers that have shards for this database, and see how things go from there.
You can check how the cluster is connected by hitting
http://hostname:5984/_membership on each node and comparing. The
username isn't really a username, its an Erlang node name. Assuming
your cluster is connected then those will be unique because they'll
have 'nodename@hostname' which is good enough to differentiate.