swift/test/unit/obj
Tim Burke 9eb81f6e69 Allow replication servers to handle all request methods
Previously, the replication_server setting could take one of three
states:

 * If unspecified, the server would handle all available methods.
 * If "true", "yes", "on", etc. it would only handle replication
   methods (REPLICATE, SSYNC).
 * If any other value (including blank), it would only handle
   non-replication methods.

However, because SSYNC tunnels PUTs, POSTs, and DELETEs through
the same object-server app that's responding to SSYNC, setting
`replication_server = true` would break the protocol. This has
been the case ever since ssync was introduced.

Now, get rid of that second state -- operators can still set
`replication_server = false` as a principle-of-least-privilege guard
to ensure proxy-servers can't make replication requests, but replication
servers will be able to serve all traffic. This will allow replication
servers to be used as general internal-to-the-cluster endpoints, leaving
non-replication servers to handle client-driven traffic.

Closes-Bug: #1446873
Change-Id: Ica2b41a52d11cb10c94fa8ad780a201318c4fc87
2020-07-23 09:11:07 -07:00
..
__init__.py Initial commit of Swift code 2010-07-12 17:03:45 -05:00
common.py py3: port object auditor 2019-02-27 14:07:33 -06:00
test_auditor.py Update hacking for Python3 2020-04-03 21:21:07 +02:00
test_diskfile.py obj: _finalize_durable may succeed even when data file is missing 2020-04-24 15:39:37 -07:00
test_expirer.py Deprecate per-service auto_create_account_prefix 2020-01-05 09:53:30 -06:00
test_reconstructor.py Merge "Update hacking for Python3" 2020-04-09 15:05:28 +00:00
test_replicator.py Stop syncing empty suffixes list 2020-07-16 13:13:04 -07:00
test_server.py Allow replication servers to handle all request methods 2020-07-23 09:11:07 -07:00
test_ssync.py py3: port ssync 2019-06-05 13:26:18 -07:00
test_ssync_receiver.py Update hacking for Python3 2020-04-03 21:21:07 +02:00
test_ssync_sender.py Consistently use io.BytesIO 2019-10-15 15:09:46 +02:00
test_updater.py sharding: Better-handle newlines in container names 2020-01-03 16:04:57 -08:00