This is an automated email from the ASF dual-hosted git repository. wohali pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/couchdb-documentation.git
The following commit(s) were added to refs/heads/master by this push: new efc8e53 Remove mention of Fauxton on port 5986 efc8e53 is described below commit efc8e53608ee42dff50607c434ab1834625192e5 Author: Joan Touzet <jo...@atypical.net> AuthorDate: Mon Mar 5 15:59:37 2018 -0500 Remove mention of Fauxton on port 5986 --- src/cluster/sharding.rst | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/cluster/sharding.rst b/src/cluster/sharding.rst index 5ad998a..5e256d5 100644 --- a/src/cluster/sharding.rst +++ b/src/cluster/sharding.rst @@ -45,13 +45,7 @@ If you look in the directory ``data/shards`` you will find the 2 shards. | +-- 80000000-ffffffff/ | -- small.1425202577.couch -Now, go to the admin panel - -.. code-block:: text - - http://xxx.xxx.xxx.xxx:5986/_utils - -and look in the database ``_dbs``, it is here that the metadata for each +Now, check the node-local ``_dbs_`` database. Here, the metadata for each database is stored. As the database is called small, there is a document called small there. Let us look in it. Yes, you can get it with curl too: @@ -120,7 +114,8 @@ nodes are talking with each other. If you look in the directory ``data`` on node2, you will see that there is no directory called shards. -Go to Fauxton and edit the metadata for small, so it looks like this: +Use curl to change the ``_dbs/small`` node-local document for small, so it +looks like this: .. code-block:: javascript @@ -184,8 +179,8 @@ Go to Fauxton and edit the metadata for small, so it looks like this: } } -Then press Save and marvel at the magic. The shards are now on node2 too! We -now have ``n=2``! +After PUTting this document, it's like magic: the shards are now on node2 too! +We now have ``n=2``! If the shards are large, then you can copy them over manually and only have CouchDB syncing the changes from the last minutes instead. -- To stop receiving notification emails like this one, please contact woh...@apache.org.