On Sat, Mar 21, 2015 at 12:17 AM, Alexander Shorin <[email protected]> wrote:

> On Fri, Mar 20, 2015 at 9:28 PM, madhuka udantha
> <[email protected]> wrote:
> > I like to know what is *different of '_nodes' and 'node'*?
> >
> > http://localhost:15986/nodes -->{"db_name":"nodes","doc_count":3..}
> > http://localhost:25986/nodes -->{"db_name":"nodes","doc_count":1..}
> > http://localhost:35986/nodes
> -->{"error":"not_found","reason":"no_db_file"}
>
> Where did you get these nodes?
>
By '~/test/1/couchdb $ dev/run -n 4' I can added 4 nodes. (default it is 3
nodes)

Here is my console print, Yes now I have four node running.

*max@max-VirtualBox ~/test/1/couchdb $ dev/run -n 4*
*Setup environment... ok*
*Ensure CouchDB is built... ok*
*Prepare configuration files... ok*
*Start node node1... ok*
*Start node node2... ok*
*Start node node3... ok*
*Start node node4... ok*
*Ensure all nodes are run... ok*
*Join nodes into cluster... ok*
*Developers cluster is set up at http://127.0.0.1:15984
<http://127.0.0.1:15984>. Time to hack!... *

Each above nodes are running in localhost in port 15986, 25986, 35986 and
45986

It seems docs are mainly in 15986 (node1) shown by 'doc_count' value,
is there any reason for that or is it happening randomly?




>
> --
> ,,,^..^,,,
>



-- 
Cheers,
Madhuka Udantha
http://madhukaudantha.blogspot.com

Reply via email to