summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-09-16 03:46:36 +0000
committerGerrit Code Review <review@openstack.org>2015-09-16 03:46:36 +0000
commite399dcbdaa2d0e25a34855807c5a9d358d9b431d (patch)
treeccd5be2e40c489e34cb30969522aee2d30f46c37
parent0d9142abd45f189b15eaec1a25464ed7d1859f97 (diff)
parent530102ae07ea27b4a994e4b1fb2f590700cfef0c (diff)
downloadswift-e399dcbdaa2d0e25a34855807c5a9d358d9b431d.tar.gz
Merge "Update EC Support on how to build an EC ring with replicas count"
-rwxr-xr-xdoc/source/overview_erasure_code.rst19
1 files changed, 16 insertions, 3 deletions
diff --git a/doc/source/overview_erasure_code.rst b/doc/source/overview_erasure_code.rst
index d1b1a5d6a..a8a8e8789 100755
--- a/doc/source/overview_erasure_code.rst
+++ b/doc/source/overview_erasure_code.rst
@@ -251,9 +251,22 @@ of them will be made of parity data (calculations depending on ec_type).
When deciding which devices to use in the EC policy's object ring, be sure to
carefully consider the performance impacts. Running some performance
benchmarking in a test environment for your configuration is highly recommended
-before deployment. Once you have configured your EC policy in `swift.conf` and
-created your object ring, your application is ready to start using EC simply by
-creating a container with the specified policy name and interacting as usual.
+before deployment.
+
+To create the EC policy's object ring, the only difference in the usage of the
+``swift-ring-builder create`` command is the ``replicas`` parameter. The
+``replicas`` value is the number of fragments spread across the object servers
+associated with the ring; ``replicas`` must be equal to the sum of
+``ec_num_data_fragments`` and ``ec_num_parity_fragments``. For example::
+
+ swift-ring-builder object-1.builder create 10 14 1
+
+Note that in this example the ``replicas`` value of 14 is based on the sum of
+10 EC data fragments and 4 EC parity fragments.
+
+Once you have configured your EC policy in `swift.conf` and created your object
+ring, your application is ready to start using EC simply by creating a container
+with the specified policy name and interacting as usual.
.. note::