edc413b85ec2b703d7506be9c4801eb347611c58
5558 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Nguyen Hung Phuong
|
edc413b85e |
Fix typos in Swift files
Change-Id: I39dbf55c094c42347b57ef67520abff9e6fc24bc |
||
|
Jenkins
|
475e448366 | Merge "Shutdown backend EC connection contexts on disconnect" | ||
|
Jenkins
|
669c3f1e7e | Merge "added javaswift to associated projects" | ||
|
Jenkins
|
645002b956 | Merge "Fix strings with positional arguments" | ||
|
Jenkins
|
da6031067e | Merge "Fix upgrade bug in versioned_writes" | ||
|
Thiago da Silva
|
a460e5affe |
added javaswift to associated projects
Change-Id: I139ac3acb1c7d2498e87df554b81824ada2dbd00 Signed-off-by: Thiago da Silva <thiago@redhat.com> |
||
|
Cheng Li
|
4e412e0cd8 |
Fix strings with positional arguments
As descriped in develop guideline, Any message with more than one variable should use named interpolation instead of positional http://docs.openstack.org/developer/oslo.i18n/guidelines.html#adding-variables-to-translated-messages Change-Id: Ia25517cfb52037cf49d0a6ebf528344267fb22cd Closes-bug:#1559431 |
||
|
KATO Tomoyuki
|
ee6af69af4 |
[docs] Update Administrator Guide URL
Change-Id: I7f6f4ffb7033d2a321362c91e05f1576847939b0 |
||
|
Jenkins
|
f227072974 | Merge "Correctly handle keys starting with the delimiter." | ||
|
Tim Burke
|
ebf0b22012 |
Fix upgrade bug in versioned_writes
Previously, versioned_writes assumed that all container servers would always have the latest Swift code, allowing them to return reversed listings. This could cause the wrong version of a file to be restored during rolling upgrades. Now, versioned_writes will check that the listing returned is actually reversed. If it isn't, we will revert to getting the full (in-order) listing of versions and reversing it on the proxy. Change-Id: Ib53574ff71961592426cb386ef00a75eb5824def Closes-Bug: 1562083 |
||
|
Jenkins
|
e786d01192 | Merge "Simplify policy-name validation slightly" | ||
|
Nguyen Hung Phuong
|
59bbe27fb0 |
Fix typos in Swift files
Change-Id: I34e0c9a888127704ac1910e73ddd14e27ebade13 |
||
|
Tim Burke
|
7be55acf1b |
Simplify policy-name validation slightly
_validate_policy_name always either returns True or raises an exception. Simplify it to just being a callable that may raise an exception. Also, move the check for blank/None names into _validate_policy_name, so it will be applied in more cases. Change-Id: I7832a0c9c895cd75ba4c6d0e8b5568a3c8a0ea25 |
||
|
Jenkins
|
c4bff88b09 | Merge "Fix account-reaper unable to delete all containers." | ||
|
Jenkins
|
fe4672e529 | Merge "Ignore files in the devices directory when auditing objects" | ||
|
Jenkins
|
f8867fd6ff | Merge "Fix py34 error of indexing 'dict_keys' object" | ||
|
OpenStack Proposal Bot
|
5902015fa8 |
Imported Translations from Zanata
For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I3b5d401649fa3dea6dc43654516f7075bb06ee0d |
||
|
Clay Gerrard
|
7402d7d9cf |
Shutdown backend EC connection contexts on disconnect
When eventlet.wsgi closes an ECAppIter on client disconnect we need to make sure our sub-iterators are also closed. We already kill the backend sockets, but the executing contexts are left running until they timeout. A slow client can result in needlessly holding queued backend fragments until the client_timeout (default 60s). Update associated test that exposed the problem to demonstrate the issue more quickly. Change-Id: Ibbc89449e7878fc4215e47e3f7dfe4ae58a2d638 |
||
|
Jenkins
|
64701d4921 | Merge "Removing some redundant words" | ||
|
Anh Tran
|
2f7d0f4a2a |
Removing some redundant words
This patch removes some redundant words. Change-Id: Ia79717664b06ed9a41c3c5dcf1a25e9e49e21cf2 |
||
|
OpenStack Proposal Bot
|
925546ae8a |
Imported Translations from Zanata
For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I6ba2f35913e6ae83607b5e268645432d455d587c |
||
|
Jenkins
|
cfb0b6a029 | Merge "Handle tempurl Content-Disposition header missing from HEAD" | ||
|
Jenkins
|
e0bac5e9e8 | Merge "Check marker params in SimpleClient full listing requests" 2.7.0 | ||
|
Jenkins
|
9c014e855c | Merge "Fix full_listing in internal_client" | ||
|
David Liu
|
3407d737c7 |
Handle tempurl Content-Disposition header missing from HEAD
Content-Disposition headers should make no difference between GET and HEAD according to HTTP rfc. Closes-Bug: #1539805 Change-Id: Ifa41a7cda2f321eb8e36420ede7912ed0a549712 |
||
|
Alistair Coles
|
2f24fb9683 |
Check marker params in SimpleClient full listing requests
Follow up for change [1] to add some assertions to check that marker param is included in sequential GET requests sent during a full listing. Extract multiple FakeConn class definitions to single class at module level and share between all classes. Also, explicitly unpack the return values from base request calls made in the full listing section of base_request, and explicitly return a list to make more consistent with rest of the method. [1] Change-Id: I6892390d72f70f1bc519b482d4f72603e1570163 Change-Id: Iad038709f46364b8324d25ac79be4317add79df5 |
||
|
Christian Schwede
|
a696c1e89e |
Fix full_listing in internal_client
The internal_client is used in swift-dispersion-report, and in case one has more than 10000 containers or objects these are not queried. This patch adds support to the internal_client to iterate over all containers/objects if the listing exceeds the default of 10000 entries and the argument full_listing=True is used. Closes-Bug: 1314817 Closes-Bug: 1525995 Change-Id: I6892390d72f70f1bc519b482d4f72603e1570163 |
||
|
John Dickinson
|
5d00ce9e3a |
2.7.0 authors and changelog updates
Change-Id: I16ad0c61b048921ca01fa96862ae7eea0eec6017 |
||
|
Jenkins
|
4be3701805 | Merge "Auditor will clean up stale rsync tempfiles" | ||
|
Christian Schwede
|
51bea3943f |
Ignore files in the devices directory when auditing objects
The object auditor raises an exception if there are some files in /srv/node (or any other defined "devices" directory). This change simply skips any file in the devices directory when generating locations for the object auditor. Change-Id: I934594994adc577799723edb6c5648685682a9e7 |
||
|
Jenkins
|
deded2e7a1 | Merge "Container-Sync to perform HEAD before PUT object on remote" | ||
|
Clay Gerrard
|
1d03803a85 |
Auditor will clean up stale rsync tempfiles
DiskFile already fills in the _ondisk_info attribute when it tries to open a diskfile - even if the DiskFile's fileset is not valid or deleted. During this process the rsync tempfiles would be discovered and logged, but no-one would attempt to clean them up - even if they were really old. Instead of logging and ignoring unexpected files when validate a DiskFile fileset we'll add unexpected files to the unexpected key in the _ondisk_info attribute. With a little bit of re-organization in the auditor's object_audit method to get things into a single return path we can add an unconditional check for unexpected files and remove those that are "old enough". Since the replicator will kill any rsync processes that are running longer than the configured rsync_timeout we know that any rsync tempfiles older than this can be deleted. Split unlink_older_than in common.utils into two functions to allow an explicit list of previously discovered paths to be passed in to avoid an extra listdir. Since the getmtime handling already ignores OSError there's less concern of race condition where a previous discovered unexpected file is reaped by rsync while we're attempting to clean it up. Update some doc on the new config option. Closes-Bug: #1554005 Change-Id: Id67681cb77f605e3491b8afcb9c69d769e154283 |
||
|
OSHRITF
|
125d18e0ff |
Container-Sync to perform HEAD before PUT object on remote
This change adds a remote HEAD object request before each call to sync_row. Currently, container-sync-row attempts to replicate the object (using PUT) regardless of the existance of the object on the remote side, thus causing each object to be transferred on the wire several times (depending on the replication factor) An alternative to HEAD is to do a conditional PUT (using, 100-continue). However, this change is more involved and requires upgrade of both the client and server side clusters to work. In the Tokyo design summit it was decided to start with the HEAD approach. Change-Id: I60d982dd2cc79a0f13b0924507cd03d7f9c9d70b Closes-Bug: #1277223 |
||
|
Jenkins
|
32847d2f48 | Merge "Docs: Container sync does not require POST-as-COPY" | ||
|
OpenStack Proposal Bot
|
eecb1f2d54 |
Imported Translations from Zanata
For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: Ia2c2819db372da46538d71a80888a4e27538bdcd |
||
|
Jenkins
|
d9a4f18b49 | Merge "Make the object auditor's run-once mode run once." | ||
|
Jenkins
|
20542f4c96 | Merge "Add .eggs/* to .gitignore" | ||
|
Jenkins
|
e41c593984 | Merge "Remove unused code from container sync" | ||
|
Jenkins
|
fd0bcba672 | Merge "Container sync nodes shuffle cleanup" | ||
|
Alistair Coles
|
2afa3681cb |
Add .eggs/* to .gitignore
After running: python setup.py build_sphinx there is a .eggs directory left in the repo root directory which is not currently ignored by git. Change-Id: Id15811f94046fd8bb22153425bf5cafe6c045453 |
||
|
Alistair Coles
|
736de613f1 |
Docs: Container sync does not require POST-as-COPY
Updates docs to remove warnings that container sync only
works with object_post_as_copy=True. Since commit
|
||
|
Alistair Coles
|
88b5758957 |
Remove unused code from container sync
Change-Id: Ia44138aadcd30c474f744a9c552220e18302ecc6 |
||
|
Jenkins
|
d08ed1011d | Merge "Set backend content length for fallocate - EC Policy" | ||
|
OpenStack Proposal Bot
|
365276464c |
Imported Translations from Zanata
For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I70db7d29a9859cb47144ac49df8c289d1c2ec3e6 |
||
|
Jenkins
|
b9314d7c11 | Merge "Skip already checked partitions when auditing objects after a restart" | ||
|
Christian Schwede
|
fd86d5a95d |
Skip already checked partitions when auditing objects after a restart
The object auditor will save a short status file on each device, containing a list of remaining partitions for auditing. If the auditor is restarted, it will only audit partitions not yet checked. If all partitions on the current device have been checked, it will simply skip this device. Once all partitions on all disks are successfully audited, all status files are removed. Closes-Bug: #1183656 Change-Id: Icf1d920d0942ce48f1d3d374ea4d63dbc29ea464 |
||
|
Jenkins
|
62fb544224 | Merge "Don't ssync data when only a durable is missing" | ||
|
Jenkins
|
919608caaf | Merge "Don't report recon mount/usage status on files" | ||
|
Jenkins
|
9282a9bae4 | Merge "Fix ringbuilder tests" | ||
|
OpenStack Proposal Bot
|
b685e85135 |
Imported Translations from Zanata
For more information about this automatic import see: https://wiki.openstack.org/wiki/Translations/Infrastructure Change-Id: I3cae432fdcf311bc3654956a1f61ce22ecae0933 |