summaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
authorClay Gerrard <clay.gerrard@gmail.com>2021-07-14 17:31:05 -0500
committerTim Burke <tim.burke@gmail.com>2021-07-21 11:45:01 -0700
commiteb969fdeea8f529aec733607ca5f6edb4e7661e7 (patch)
tree1aa427bd5e1f7fb5d81f54ccc4f8aa9382529dcc /etc
parentf29ea9d04a613a39511ce6be3f21aaae428af20d (diff)
downloadswift-eb969fdeea8f529aec733607ca5f6edb4e7661e7.tar.gz
container-reconciler: support multiple processes
This follows the same pattern of configuration used in the object-expirer. When the container-recociler has a configuration value for processes it expects that many instances of the reconciler to be configured with a process value from [0, processes). Change-Id: Ie46bda37ca3f6e692ec31a4ddcd46f343fb1aeca
Diffstat (limited to 'etc')
-rw-r--r--etc/container-reconciler.conf-sample10
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/container-reconciler.conf-sample b/etc/container-reconciler.conf-sample
index 7b74124e1..422a56720 100644
--- a/etc/container-reconciler.conf-sample
+++ b/etc/container-reconciler.conf-sample
@@ -60,6 +60,16 @@
# Number of objects to process concurrently per process
# concurrency = 1
+# processes is how many parts to divide the work into, one part per process
+# that will be doing the work
+# processes set 0 means that a single process will be doing all the work
+# processes = 0
+#
+# process is which of the parts a particular process will work on
+# process is "zero based", if you want to use 3 processes, you should run
+# processes with process set to 0, 1, and 2
+# process = 0
+
[pipeline:main]
# Note that the reconciler's pipeline is intentionally very sparse -- it is
# only responsible for moving data from one policy to another and should not