summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorZuul <zuul@review.opendev.org>2022-07-22 01:45:31 +0000
committerGerrit Code Review <review@openstack.org>2022-07-22 01:45:31 +0000
commit5ff37a0d5ec445919ea4f6c667cb049c6306a011 (patch)
tree402d3c2f269862de8e4958a003fcdaa74708eb2b /doc
parentc3aa1ce66c20c0c9148a4d3e22d3ff5bcd12bfdb (diff)
parentbf4edefce4990a9c8c3f6a92696af37d840d2008 (diff)
downloadswift-5ff37a0d5ec445919ea4f6c667cb049c6306a011.tar.gz
Merge "DB Replicator: Add handoff_delete option"
Diffstat (limited to 'doc')
-rw-r--r--doc/source/config/account_server_config.rst25
-rw-r--r--doc/source/config/container_server_config.rst25
2 files changed, 44 insertions, 6 deletions
diff --git a/doc/source/config/account_server_config.rst b/doc/source/config/account_server_config.rst
index 241c3e9d6..f305c021b 100644
--- a/doc/source/config/account_server_config.rst
+++ b/doc/source/config/account_server_config.rst
@@ -170,9 +170,9 @@ ionice_priority None I/O scheduling priority of server
[account-replicator]
********************
-==================== ========================= ===============================
+==================== ========================= =====================================
Option Default Description
--------------------- ------------------------- -------------------------------
+-------------------- ------------------------- -------------------------------------
log_name account-replicator Label used when logging
log_facility LOG_LOCAL0 Syslog log facility
log_level INFO Logging level
@@ -256,7 +256,26 @@ ionice_priority None I/O scheduling priority of serve
Work only with ionice_class.
Ignored if IOPRIO_CLASS_IDLE
is set.
-==================== ========================= ===============================
+handoffs_only no When handoffs_only mode is enabled
+ the replicator will *only* replicate
+ from handoff nodes to primary nodes
+ and will not sync primary nodes
+ with other primary nodes.
+handoff_delete auto the number of replicas which are
+ ensured in swift. If the number
+ less than the number of replicas
+ is set, account-replicator
+ could delete local handoffs even
+ if all replicas are not ensured in
+ the cluster. The replicator would
+ remove local handoff account database
+ after syncing when the number of
+ successful responses is greater than
+ or equal to this number. By default
+ handoff partitions will be removed
+ when it has successfully replicated
+ to all the canonical nodes.
+==================== ========================= =====================================
*****************
[account-auditor]
diff --git a/doc/source/config/container_server_config.rst b/doc/source/config/container_server_config.rst
index 7961f50e8..6f7d6031a 100644
--- a/doc/source/config/container_server_config.rst
+++ b/doc/source/config/container_server_config.rst
@@ -175,9 +175,9 @@ ionice_priority None I/O scheduling priority of ser
[container-replicator]
**********************
-==================== =========================== =============================
+==================== =========================== =======================================
Option Default Description
--------------------- --------------------------- -----------------------------
+-------------------- --------------------------- ---------------------------------------
log_name container-replicator Label used when logging
log_facility LOG_LOCAL0 Syslog log facility
log_level INFO Logging level
@@ -266,7 +266,26 @@ ionice_priority None I/O scheduling priority of
Work only with ionice_class.
Ignored if IOPRIO_CLASS_IDLE
is set.
-==================== =========================== =============================
+handoffs_only no When handoffs_only mode is enabled
+ the replicator will *only* replicate
+ from handoff nodes to primary nodes
+ and will not sync primary nodes
+ with other primary nodes.
+handoff_delete auto the number of replicas which are
+ ensured in swift. If the number
+ less than the number of replicas
+ is set, container-replicator
+ could delete local handoffs even
+ if all replicas are not ensured in
+ the cluster. The replicator would
+ remove local handoff container database
+ after syncing when the number of
+ successful responses is greater than
+ or equal to this number. By default
+ handoff partitions will be removed
+ when it has successfully replicated
+ to all the canonical nodes.
+==================== =========================== =======================================
*******************
[container-sharder]