swift/doc/source
Samuel Merritt c28004deb0 Multiprocess object replicator
Add a multiprocess mode to the object replicator. Setting the
"replicator_workers" setting to a positive value N will result in the
replicator using up to N worker processes to perform replication
tasks.

At most one worker per disk will be spawned, so one can set
replicator_workers=99999999 to always get one worker per disk
regardless of the number of disks in each node. This is the same
behavior that the object reconstructor has.

Worker process logs will have a bit of information prepended so
operators can tell which messages came from which worker. It looks
like this:

  [worker 1/2 pid=16529] 154/154 (100.00%) partitions replicated in 1.02s (150.87/sec, 0s remaining)

The prefix is "[worker M/N pid=P] ", where M is the worker's index, N
is the total number of workers, and P is the process ID. Every message
from the replicator's logger will have the prefix; this includes
messages from down in diskfile, but does not include things printed to
stdout or stderr.

Drive-by fix: don't dump recon stats when replicating only certain
policies. When running the object replicator with replicator_workers >
0 and "--policies=X,Y,Z", the replicator would update recon stats
after running. Since it only ran on a subset of objects, it should not
update recon, much like it doesn't update recon when run with
--devices or --partitions.

Change-Id: I6802a9ad9f1f9b9dafb99d8b095af0fdbf174dc5
2018-04-24 04:05:08 +00:00
..
_extra added .htaccess redirect file for docs 2017-07-27 14:06:51 -07:00
admin Modify redirection URL and broken URL 2018-01-18 17:05:10 +08:00
api Replace Chinese punctuation with English punctuation 2018-01-25 05:33:04 +00:00
images Remove execute permissions from doc files and swift.conf-sample 2016-02-18 08:52:03 +00:00
install Fix the incorrect reference links 2018-02-26 15:49:10 +08:00
ops_runbook Replace Chinese punctuation with English punctuation 2018-01-25 05:33:04 +00:00
account.rst Alphabetized items under other sections in source documentation 2014-02-21 10:59:29 -07:00
admin_guide.rst Modify redirection URL and broken URL 2018-01-18 17:05:10 +08:00
apache_deployment_guide.rst change default ports for servers 2016-04-29 14:47:38 -04:00
associated_projects.rst Modify redirection URL and broken URL 2018-01-18 17:05:10 +08:00
conf.py Remove vestigate HUDSON_PUBLISH_DOCS reference 2017-09-02 13:09:17 -05:00
container.rst Add container-reconciler to source doc tree 2018-01-17 20:39:22 +00:00
cors.rst Symlink doc clean up 2017-12-14 20:12:55 +00:00
crossdomain.rst Fix misspellings in swift 2014-02-20 16:15:48 +08:00
db.rst Initial commit of Swift code 2010-07-12 17:03:45 -05:00
deployment_guide.rst Multiprocess object replicator 2018-04-24 04:05:08 +00:00
development_auth.rst Merge "Fix incorrect kwarg in auth middleware example" 2015-12-18 22:04:47 +00:00
development_guidelines.rst Add checksum to object extended attributes 2017-11-03 13:30:05 -04:00
development_middleware.rst Merge "Revises 'url' to 'URL' and 'json' to 'JSON'" 2016-10-06 00:23:41 +00:00
development_ondisk_backends.rst Fix six typos on swift documentation 2015-07-24 17:11:49 +09:00
development_saio.rst fix of type error 2018-01-06 20:48:10 +00:00
first_contribution_swift.rst Fix small formatting issue 2017-11-20 10:59:05 +01:00
getting_started.rst Update broken link 2018-01-23 14:57:18 +08:00
howto_installmultinode.rst Fix the incorrect reference links 2018-02-26 15:49:10 +08:00
index.rst moved install guide and removed tox env definition 2017-07-10 13:49:28 -07:00
logs.rst Symlink implementation. 2017-12-13 21:26:12 +00:00
middleware.rst Symlink implementation. 2017-12-13 21:26:12 +00:00
misc.rst Add Storage Policy Documentation 2014-06-19 10:18:34 -07:00
object.rst Clarify usage of replicator and reconstructor override options 2017-07-26 12:53:46 +01:00
overview_acl.rst Merge "Add full working example of sharing a container with another user" 2018-04-11 00:15:30 +00:00
overview_architecture.rst Add links for more detailed overview in overview_architecture 2016-10-23 12:13:57 +00:00
overview_auth.rst doc migration: update the doc link address[2/3] 2017-09-15 06:31:00 +00:00
overview_backing_store.rst Trivial fix typo while reading doc 2017-05-05 23:06:14 +07:00
overview_container_sync.rst Symlink implementation. 2017-12-13 21:26:12 +00:00
overview_encryption.rst doc migration: update the doc link address[2/3] 2017-09-15 06:31:00 +00:00
overview_erasure_code.rst Merge "Require that known-bad EC schemes be deprecated" 2017-06-22 01:11:03 +00:00
overview_expiring_objects.rst Document that x-delete-after takes precedence over x-delete-at 2018-01-05 19:50:50 +00:00
overview_global_cluster.rst Write-affinity aware object deletion 2017-06-27 22:42:02 +12:00
overview_large_objects.rst Allow DLO manifest to be updated when using post-as-copy 2016-08-21 00:09:09 -05:00
overview_object_versioning.rst Fix new doc warnings resulting from Sphinx 1.7.1 2018-03-02 14:56:57 +00:00
overview_policies.rst Fix indent in overview_policies.rst 2017-11-02 12:39:19 +01:00
overview_reaper.rst Fixed inconsistent naming conventions 2016-07-07 21:40:21 +00:00
overview_replication.rst Fixed inconsistent naming conventions 2016-07-07 21:40:21 +00:00
overview_ring.rst Ring doc cleanups 2017-06-13 09:23:23 -07:00
policies_saio.rst Mirror X-Trans-Id to X-Openstack-Request-Id 2016-10-30 20:02:39 -07:00
proxy.rst Alphabetized items under other sections in source documentation 2014-02-21 10:59:29 -07:00
ratelimit.rst Fixed inconsistent naming conventions 2016-07-07 21:40:21 +00:00
replication_network.rst Allows to configure the rsync modules where the replicators will send data 2015-09-07 08:00:18 +02:00
ring.rst Add Composite Ring Functionality 2017-05-15 16:42:00 -07:00
ring_background.rst Replace Chinese punctuation with English punctuation 2018-01-25 05:33:04 +00:00
ring_partpower.rst Add support to increase object ring partition power 2017-06-15 15:08:48 -07:00
test-cors.html move cors-test-page to literal include 2014-03-17 21:09:22 -07:00