summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorMatthew Oliver <matt@oliver.net.au>2021-07-06 16:32:08 +1000
committerMatthew Oliver <matt@oliver.net.au>2021-07-13 13:55:13 +1000
commite491693e36e5b6b6b8eab6933fb247ae756ea28b (patch)
tree6ab5c89b80fdfa99d7a964c3deb0a4575991af45 /etc
parent2117a32b992deef1d7487f1e997abb028a9f56d6 (diff)
downloadswift-e491693e36e5b6b6b8eab6933fb247ae756ea28b.tar.gz
reconciler: PPI aware reconciler
This patch makes the reconciler PPI aware. It does this by adding a helper method `can_reconcile_policy` that is used to check that the policies used for the source and destination aren't in the middle of a PPI (their ring doesn't have next_part_power set). In order to accomplish this the reconciler has had to include the POLICIES singleton and grown swift_dir and ring_check_interval config options. Closes-Bug: #1934314 Change-Id: I78a94dd1be90913a7a75d90850ec5ef4a85be4db
Diffstat (limited to 'etc')
-rw-r--r--etc/container-reconciler.conf-sample1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/container-reconciler.conf-sample b/etc/container-reconciler.conf-sample
index cda8110e6..cd61f9a69 100644
--- a/etc/container-reconciler.conf-sample
+++ b/etc/container-reconciler.conf-sample
@@ -1,6 +1,7 @@
[DEFAULT]
# swift_dir = /etc/swift
# user = swift
+# ring_check_interval = 15.0
# You can specify default log routing here if you want:
# log_name = swift
# log_facility = LOG_LOCAL0