026f7065639cc0f2a3db9de0e7436a9b701ba496
Commit Graph

7552 Commits

This Branch
This Branch
All Branches
Author SHA1 Message Date
wangdequn
026f706563 rectify 'a integer number' to 'an integer number'
Change-Id: I307baf793cd39786b3a8a921f5b02c945e1dbf46
2018年06月14日 10:22:30 +08:00
Zuul
9ca3160ff7 Merge "rectify 'a expirting object' to 'an expiring object'" 2018年06月13日 09:36:14 +00:00
Zuul
a42215b14f Merge "Fix typo in sharding docs" 2018年06月13日 09:33:29 +00:00
wangdequn
2ee836388b rectify 'a expirting object' to 'an expiring object'
Change-Id: I5a0eef505c7661c52c90e9032e38d0e438440726
2018年06月13日 14:08:18 +08:00
Zuul
15438e86ae Merge "Read-only middleware fixups" 2018年06月13日 04:58:12 +00:00
gaofei
f2295a688c Fix typo in sharding docs
This patch removes an additional 'and' added to a sentence.
Change-Id: I6ab47637ef2d2f97f35188a84e741274c2b504e8
2018年06月13日 04:44:44 +00:00
Zuul
671355134f Merge "func tests: Drop clone_conn arg to Connection" 2018年06月13日 04:28:15 +00:00
Zuul
ffd2379ee2 Merge "Get rid of tpool_reraise" 2018年06月13日 04:00:12 +00:00
Zuul
5a4e193970 Merge "Added S3 compatibility information to docs" 2018年06月13日 04:00:10 +00:00
Tim Burke
dc8d1c964a Get rid of tpool_reraise
As best I can tell, eventlet already does (and always has done) the
right thing, and we were just bad at catching Timeouts.
For some history:
 https://github.com/openstack/swift/commit/5db3cb3
 https://github.com/openstack/swift/commit/2b3aab8
 https://github.com/openstack/swift/commit/da0e013
Change-Id: Iad8109c4a03f006a89e55373cf3ca867d724b3e1
Related-Bug: 1647804
2018年06月12日 15:23:17 -07:00
Tim Burke
b3ce3c9b49 func tests: Drop clone_conn arg to Connection
We never use it, may as well get rid of it.
Change-Id: I0d860e6fdc20afb6baf28d0269dcbda21cee0ac7
2018年06月12日 14:38:55 -07:00
Zuul
eb9a21b22b Merge "Allow domain remap storage_domain to be configured for func tests" 2018年06月12日 21:12:54 +00:00
Zuul
8faa26d203 Merge "Rearrange some error handling to reduce indent" 2018年06月12日 11:28:45 +00:00
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
2018年06月11日 11:58:26 -07:00
Tim Burke
0318e7c874 Rearrange some error handling to reduce indent
Change-Id: Ife00798a450828c7b640142def8929a38e23d5ad
Related-Change: Icb88902f0a89b8d980c860be032d5e822845d03a
2018年06月11日 10:44:45 -07:00
Tim Burke
beb014b0b1 Read-only middleware fixups
- Expose cluster-wide read-only status in /info
- Use a set instead of list for write_methods
- Provide a more explicit response when returning 405
- Consider self.read_only in account_read_only
- Use return_values instead of callables for more mocks
Change-Id: I45387067a69919706800df3a8ca12ae8f5d16d90
2018年06月11日 10:05:49 -07:00
Zuul
c51e1c6a9c Merge "Fix typos replace a OpenStack bucket with an OpenStack bucket" 2018年06月11日 12:41:41 +00:00
baiwenteng
e726473e26 Fix typos
replace a OpenStack bucket with an OpenStack bucket
Change-Id: I4ada68720dcf23fb9b94c922ddb3eefd42aa80a7
2018年06月11日 18:39:48 +08:00
baiwenteng
284da567cb Fix grammar errors
replace a object with an object
Change-Id: Ied9cd7c7d0efaf455370e184abd31734574bff07
2018年06月11日 17:00:39 +08:00
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
2018年06月07日 11:59:08 +01:00
Zuul
c01c43d982 Merge "Adds read_only middleware" 2018年06月07日 06:49:26 +00:00
Zuul
720aa6961a Merge "Update SERVER_ADDR/SERVER_PORT from PROXY protocol" 2018年06月06日 08:48:38 +00:00
Zuul
ba5c13e9dd Merge "Add assertion to test_consolidate_hashes_raises_exception" 2018年06月05日 18:03:48 +00:00
Zuul
3e9fdfceb4 Merge "Refactor object updater's async-pending finder" 2018年06月05日 12:14:44 +00:00
Zuul
46443b7fbf Merge "Make final stats dump after reconstructor runs once" 2018年06月05日 10:15:59 +00:00
Zuul
aee13b0e40 Merge "copy: Stop hanging per-request data on middleware instance" 2018年06月05日 05:38:36 +00:00
Zuul
ec066392b5 Merge "Make If-None-Match:* work properly with 0-byte PUTs" 2018年06月05日 02:45:06 +00:00
Zuul
8896fbccbc Merge "Remove redundant elif in tempauth" 2018年06月05日 02:08:49 +00:00
Tim Burke
9ef2a82816 copy: Stop hanging per-request data on middleware instance
Change-Id: Ib7b208669e900b84a7759819ef76b7b5b7ce8c9a
Closes-Bug: 1774719
2018年06月04日 17:54:58 -07:00
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
2018年06月04日 16:08:34 -07:00
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
2018年06月04日 15:24:45 -07:00
Zuul
84f2bfcb2e Merge "Make multiprocess reconstructor's logs more readable." 2018年06月04日 16:19:24 +00:00
Zuul
2d3ceeda28 Merge "Log updater stats once per pass, not per policy" 2018年06月04日 15:40:25 +00:00
Zuul
eee3e08f25 Merge "Improve user logging" 2018年06月04日 12:09:55 +00:00
Alistair Coles
76344e5150 Remove redundant elif in tempauth
Related-Change: I12eb55a42e5a8dc2dff5a4687f7fe31452f9508e
Change-Id: I0a7479e56b91a8e69bffd9c7df1c26b839ab13a2
2018年06月04日 11:08:17 +01:00
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
2018年06月01日 13:41:21 -07:00
John Dickinson
5acefa3dc9 made changelog section breaks more consistent
Change-Id: I791b03a7cabd63bf363e17f7ac603744d8dbf130
2018年06月01日 10:01:10 -07:00
Zuul
7f12d608be Merge "Verify diff stat is unchanged when syncing only shard ranges" 2018年06月01日 08:56:05 +00:00
Zuul
ad98818043 Merge "Fix marker and end_marker descriptions in API ref" 2018年06月01日 08:46:50 +00:00
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
2018年06月01日 08:49:52 +01:00
Zuul
8cf85756b5 Merge "display swift services in apache2" 2018年06月01日 02:54:45 +00:00
Zuul
02a2788438 Merge "Fix suffix-byte-range responses for zero-byte EC objects." 2018年06月01日 00:07:56 +00:00
Zuul
7f970597ec Merge "Use X-Timestamp when checking object expiration" 2018年05月31日 23:55:59 +00:00
Zuul
78126b2555 Merge "Remove some Python 2.6 compatibility code in ring" 2018年05月31日 23:55:57 +00:00
Zuul
4790ac61e6 Merge "Add detail to container server GET docstring" 2018年05月31日 23:45:23 +00:00
John Dickinson
5078bb1254 Added S3 compatibility information to docs
Change-Id: I8a179e2e9dea1dac57a14696bc0abcd48753adfc
2018年05月31日 13:19:25 -07:00
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
2018年05月31日 17:43:14 +01:00
Zuul
b709d4c785 Merge "Stop overriding _in_sync in container replicator" 2018年05月31日 14:05:02 +00:00
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
2018年05月31日 13:26:28 +01:00
Zuul
4a6508cf08 Merge "removed specific reference to two core reviewers" 2018年05月31日 02:32:19 +00:00