f2295a688cd6e60f016ca6035bb2358e863dc0d9
7540 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
gaofei
|
f2295a688c |
Fix typo in sharding docs
This patch removes an additional 'and' added to a sentence. Change-Id: I6ab47637ef2d2f97f35188a84e741274c2b504e8 |
||
|
Zuul
|
eb9a21b22b | Merge "Allow domain remap storage_domain to be configured for func tests" | ||
|
Zuul
|
8faa26d203 | Merge "Rearrange some error handling to reduce indent" | ||
|
Tim Burke
|
fcd7a05e8c |
Fix up insecure behavior for functional tests
At some point, we should probably plumb in a ca_cert option or something. Change-Id: I3b719be3e2ae5620ad84bd275516f6c8843ceaa4 |
||
|
Tim Burke
|
0318e7c874 |
Rearrange some error handling to reduce indent
Change-Id: Ife00798a450828c7b640142def8929a38e23d5ad Related-Change: Icb88902f0a89b8d980c860be032d5e822845d03a |
||
|
Zuul
|
c51e1c6a9c | Merge "Fix typos replace a OpenStack bucket with an OpenStack bucket" | ||
|
baiwenteng
|
e726473e26 |
Fix typos
replace a OpenStack bucket with an OpenStack bucket Change-Id: I4ada68720dcf23fb9b94c922ddb3eefd42aa80a7 |
||
|
baiwenteng
|
284da567cb |
Fix grammar errors
replace a object with an object Change-Id: Ied9cd7c7d0efaf455370e184abd31734574bff07 |
||
|
Alistair Coles
|
8b44c9df29 |
Allow domain remap storage_domain to be configured for func tests
Previously some tests in /test/functional/test_staticweb.py assumed that domain_remap middleware was configured with the default storage_domain 'example.com'. As a result those tests would fail if run against a cluster with domain_remap middleware installed but not having an 'example.com' storage_domain. This patch allows a storage_domain to be configured in the test.conf file so that the tests may be successfully run against any cluster. If the option is not set then the tests will be skipped. To ensure that the in process test job func-domain-remap-staticweb still runs all the tests in test_staticweb.py, its config loader is modified to add the required storage_domain option to the test config with the same value used by the domain_remap middleware. Related-Change: I6bc70039c1b99b8a5bf5a30e9c6877d4f0aa638d Co-Authored-By: Tim Burke <tim.burke@gmail.com> Change-Id: Ifab84fc3ef66b9790e96ebb8e5c8061a12636045 |
||
|
Zuul
|
c01c43d982 | Merge "Adds read_only middleware" | ||
|
Zuul
|
720aa6961a | Merge "Update SERVER_ADDR/SERVER_PORT from PROXY protocol" | ||
|
Zuul
|
ba5c13e9dd | Merge "Add assertion to test_consolidate_hashes_raises_exception" | ||
|
Zuul
|
3e9fdfceb4 | Merge "Refactor object updater's async-pending finder" | ||
|
Zuul
|
46443b7fbf | Merge "Make final stats dump after reconstructor runs once" | ||
|
Zuul
|
aee13b0e40 | Merge "copy: Stop hanging per-request data on middleware instance" | ||
|
Zuul
|
ec066392b5 | Merge "Make If-None-Match:* work properly with 0-byte PUTs" | ||
|
Zuul
|
8896fbccbc | Merge "Remove redundant elif in tempauth" | ||
|
Tim Burke
|
9ef2a82816 |
copy: Stop hanging per-request data on middleware instance
Change-Id: Ib7b208669e900b84a7759819ef76b7b5b7ce8c9a Closes-Bug: 1774719 |
||
|
Samuel Merritt
|
1424ff71f9 |
Refactor object updater's async-pending finder
Pulled the FS walking out into its own function so that finding async_pendings is in one place and processing them is in another. This should make it easier to add greenthread-based concurrency later. Also refactored rate limiting to use utils.RateLimitedIterator instead of calling ratelimit_sleep ourselves. The functionality's the same, but the interface is easier. Change-Id: I02f9e3201e9434080c6fb87ac5e249d8b327a231 |
||
|
Samuel Merritt
|
ecf47553b5 |
Make final stats dump after reconstructor runs once
When running in multiprocess mode, the object reconstructor would periodically aggregate its workers' recon data into a single recon measurement. However, at the end of the run, all that was left in recon was the last periodic measurement; any work that took place after that point was not recored in the aggregate. However, it was recorded in the per-disk stats that the worker processes emitted. This commit adds a final recon aggregation after the worker processes have finished. Change-Id: Ia6a3a931e9e7a23824765b2ab111a5492e509be8 |
||
|
Zuul
|
84f2bfcb2e | Merge "Make multiprocess reconstructor's logs more readable." | ||
|
Zuul
|
2d3ceeda28 | Merge "Log updater stats once per pass, not per policy" | ||
|
Zuul
|
eee3e08f25 | Merge "Improve user logging" | ||
|
Alistair Coles
|
76344e5150 |
Remove redundant elif in tempauth
Related-Change: I12eb55a42e5a8dc2dff5a4687f7fe31452f9508e Change-Id: I0a7479e56b91a8e69bffd9c7df1c26b839ab13a2 |
||
|
Tim Burke
|
2044673174 |
Improve user logging
The first item in groups is the account, the second item is the account_user. The second one is *way* more useful for debugging. Change-Id: I12eb55a42e5a8dc2dff5a4687f7fe31452f9508e |
||
|
John Dickinson
|
5acefa3dc9 |
made changelog section breaks more consistent
Change-Id: I791b03a7cabd63bf363e17f7ac603744d8dbf130 |
||
|
Zuul
|
7f12d608be | Merge "Verify diff stat is unchanged when syncing only shard ranges" | ||
|
Zuul
|
ad98818043 | Merge "Fix marker and end_marker descriptions in API ref" | ||
|
Alistair Coles
|
e748ef4637 |
Verify diff stat is unchanged when syncing only shard ranges
Add test assertions to verify that the related change fixes usync diff stats being erroneously incremented as a side-effect of syncing shard ranges when the object tables are in sync. Related-Change: I2630bb127841837b35e7786b59895fa50090719b Change-Id: Idffe93c63d16e74ea9ca42b33a636c0c0d9e35b5 |
||
|
Zuul
|
8cf85756b5 | Merge "display swift services in apache2" | ||
|
Zuul
|
02a2788438 | Merge "Fix suffix-byte-range responses for zero-byte EC objects." | ||
|
Zuul
|
7f970597ec | Merge "Use X-Timestamp when checking object expiration" | ||
|
Zuul
|
78126b2555 | Merge "Remove some Python 2.6 compatibility code in ring" | ||
|
Zuul
|
4790ac61e6 | Merge "Add detail to container server GET docstring" | ||
|
Alistair Coles
|
bb9e427262 |
Add detail to container server GET docstring
The container server GET method became more complex with the introduction of shard ranges [1]. This patch adds some commentary to the docstring. The additional docstring is not intended to be exhaustive, particularly where it would duplicate the API docs. [1] Related-Change: I029782ae348f38c5fb76d2759609f67a06c883ef Change-Id: Id661f5dd67768e1698901ca06e33900291e80964 |
||
|
Zuul
|
b709d4c785 | Merge "Stop overriding _in_sync in container replicator" | ||
|
Alistair Coles
|
7d7601777f |
Fix marker and end_marker descriptions in API ref
Make the descriptions generic since they are used in both account and container API specs. Change-Id: Id3f8d87da00e6c57a3f4a41471ac64ada71f49ee |
||
|
Zuul
|
4a6508cf08 | Merge "removed specific reference to two core reviewers" | ||
|
Zuul
|
9363a90fdb | Merge "Added PyPI validation check for the readme." | ||
|
John Dickinson
|
076f20bfc3 |
removed specific reference to two core reviewers
Change-Id: Id9dbf27e93bd9a4a38a1547953be0af0bf0c19c2 |
||
|
Samuel Merritt
|
47aff724bb |
Log updater stats once per pass, not per policy
The object updater emits a log line saying "Object update sweep completed on <disk> in <time>: <lots-of-stats>" after finishing each storage policy's async pendings. That's not right; an update sweep is completed on a device when you've looked at all the async pendings on the device. This commit moves the "sweep completed" message so it's once per device, not per policy. Change-Id: Ibb5f02a18ac431da230afe30c556a756f60d1680 |
||
|
Zuul
|
56aeb20f98 | Merge "container-updater: log LockTimeout exceptions at INFO, not ERROR" | ||
|
John Dickinson
|
fb3b43f713 |
Added PyPI validation check for the readme.
See https://review.openstack.org/#/c/571007/ and https://review.openstack.org/#/c/570999/ for context. Change-Id: Ib6045de3cb9097ed7e6d48646109f35612cbbc74 |
||
|
Zuul
|
c03701d7b7 | Merge "Remove unhelpful log message in copy middleware" | ||
|
Zuul
|
a15f55b1c9 | Merge "Catch and log errors from process_container, then keep updating" | ||
|
Greg Lange
|
5d601b78f3 |
Adds read_only middleware
This patch adds a read_only middleware to swift. It gives the ability to make an entire cluster or individual accounts read only. When a cluster or an account is in read only mode, requests that would result in writes to the cluser are not allowed. DocImpact Change-Id: I7e0743aecd60b171bbcefcc8b6e1f3fd4cef2478 |
||
|
Zuul
|
f270466de3 | Merge "authors/changelog update for 2.18.0 release" 2.18.0 | ||
|
Zuul
|
8da8df3279 | Merge "Add s3api headers to allowed_headers by default" | ||
|
Samuel Merritt
|
a954f59f4c |
container-updater: log LockTimeout exceptions at INFO, not ERROR
Lock timeouts happen, especially on very busy containers. It's not worth a stack trace, and it's not an error. Now we still log the lock timeout, but at INFO level and without a stack trace. Change-Id: Ia202c876fb726f9ae6040d875a83105dd975539b |
||
|
Samuel Merritt
|
553bef0d1d |
Remove unhelpful log message in copy middleware
We probably don't need an extra INFO-level message every time a user makes a PUT request with X-Copy-From set. It's still in the proxy's access logs. Change-Id: I32ce8ff16cb296dd5acef07202a59bc5125111c1 |