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 8655ee6 Fix block formatting for mm docs (#373)
8655ee6 is described below
commit 8655ee6ab97a7a8fccc584f6dbaf9866e5fa8c31
Author: Joan Touzet <[email protected]>
AuthorDate: Mon Jan 7 16:22:45 2019 -0500
Fix block formatting for mm docs (#373)
---
src/cluster/sharding.rst | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/cluster/sharding.rst b/src/cluster/sharding.rst
index ead2d31..aeb8d02 100644
--- a/src/cluster/sharding.rst
+++ b/src/cluster/sharding.rst
@@ -249,7 +249,7 @@ up-to-date before allowing it to participate in end-user
requests.
To enable maintenance mode:
-.. code-block::bash
+.. code-block:: bash
$ curl -X PUT -H "Content-type: application/json" \
$COUCH_URL:5984/_node/<nodename>/_config/couchdb/maintenance_mode \
@@ -258,7 +258,7 @@ To enable maintenance mode:
Then, verify that the node is in maintenance mode by performing a ``GET
/_up`` on that node's individual endpoint:
-.. code-block::bash
+.. code-block:: bash
$ curl -v $COUCH_URL/_up
…
@@ -453,7 +453,7 @@ Remove the shard and secondary index files from the source
node
Finally, you can remove the source shard replica by deleting its file from the
command line on the source host, along with any view shard replicas:
-.. code-block::bash
+.. code-block:: bash
$ rm <couch-dir>/data/shards/<range>/<dbname>.<datecode>.couch
$ rm -r <couch-dir>/data/.shards/<range>/<dbname>.<datecode>*