b530e62313cf2c8f44561f1023277fde289c3eed
2077 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
John Dickinson
|
b530e62313 |
updated with 1.7.5 version bump and changelog update
Change-Id: I04be779539b2bff76e2f614f50ddba2592fe4a36 |
||
|
gholt
|
7e0c4eb152 |
Fixed leak on 499s
This fixes an issue where Request objects (and related objects) were not getting garbage collected when a 499 (client disconnect) occurred for responses that still would have had more than the proxy server's client chunk size left to send. Fixed bug #1055834 Change-Id: Ib7b5fffe970dcdec60b90a9bdcd67c49b68fb914 |
||
|
Darrell Bishop
|
57b10cd38c |
Restore old SIGPIPE handler in a proxy server test.
I think not doing this was setting the SIGPIPE handler to signal.SIG_DFL instead of the Python default of signal.SIG_IGN. This could cause other tests which make a client stop reading before all data "chunks" are read to fail harder than they should (i.e. the SIGPIPE there is benign and even expected--the other side of the socket really did get closed early). Change-Id: I946a1913714a34ec677b701a2b5724bc8b715f70 |
||
|
Jenkins
|
4b858c1860 | Merge "Gracefully handle stdin flush failure on BSD" | ||
|
Brian Cline
|
87c1c5dce9 |
Gracefully handle stdin flush failure on BSD
Catches an IOError that is thrown when starting Swift on BSD-based platforms, as the underlying system call to flush returns errno 9 (bad file descriptor), whereas on Linux it succeeds. Change-Id: Ic143d2fe6c3e1e0b39794958b40b0f5efdc17c06 |
||
|
Brian Cline
|
da99c3390b |
Only set TCP_KEEPIDLE where supported
Resolves an issue preventing Swift from starting on BSD-based platforms that do not have this TCP flag (FreeBSD, OSX/Darwin, OpenBSD); identical to Glance bug 879195, change I2f062a34, Glance commit efcdac36 (originally reported and patched by Brian Waldon). Change-Id: Ifd696fe1080464d060e608c075ad0c113baab5ab |
||
|
John Dickinson
|
8a7afa535f |
1.7.2. changelog and version bump to 1.7.3-dev
Change-Id: Id398b4c0764ca0995cec03c5f0ea6198ef877ade |
||
|
Jenkins
|
73aa3cbda1 | Merge "Fix bug where serialization_format is ignored" | ||
|
Jenkins
|
b0a2f795f4 | Merge "builder.add_devs gets next id if not provided" | ||
|
gholt
|
c97fb37e10 |
Fix bug where serialization_format is ignored
Change-Id: I5a5ac8b5f18e077105ab12e9b1f0ccafac3983f7 |
||
|
Dan Prince
|
411c7cb8ff |
Add README.md to the tarball.
Fixes LP Bug #1051125 Change-Id: If1f96e1d759276cafd5378b4e74b0dbcb1fa2358 |
||
|
Florian Hines
|
c4f5761101 |
builder.add_devs gets next id if not provided
Have builder.add_devs get the next id to use when adding a new device if its not specified in the dict. Change-Id: I5a0defab43f5cfc5d997080bfd8563bfe72368ad |
||
|
Jenkins
|
30337a8875 | Merge "added errno.EINVAL check to fallocate" | ||
|
John Dickinson
|
bfc114bc1d |
new more helpful README
Change-Id: Ie5e88178e061955aea8759e5451a2d33ccc76511 |
||
|
John Dickinson
|
343968b2d3 |
added disable_fallocate info to docs
Change-Id: I8130e258d77f47bfa28ecf79a51a6e34671ada22 |
||
|
John Dickinson
|
2ca379d40f |
added errno.EINVAL check to fallocate
On some systems (eg Illumos), posix_fallocate() returns EINVAL when the underlying filesystem doesn't support the operation. On Linux, the fallocate() call returns EOPNOTSUPP. The need for this patch was revealed by Victor Rodionov <victor.rodionov@nexenta.com>. Change-Id: I06fa9d49e7ec4084135843b7e0c91948dc098d27 |
||
|
Jenkins
|
a7e6d44706 | Merge "Adds Error Handling to swift-drive-audit for missing or unreadable /var/log/kern.log" | ||
|
Jenkins
|
5c67f1a695 | Merge "container_info returns a dict" | ||
|
Andy McCrae
|
463da7e170 |
Adds Error Handling to swift-drive-audit for missing or unreadable /var/log/kern.log
Fixes Bug 1049081 Change-Id: If977080350cc5cdb6bc633b6af7d3c490ed23d46 |
||
|
David Goetz
|
d24e280bf4 |
obj replicator speed up
Change-Id: If02b573353dedea9c2368ce4733fe97599229b2e |
||
|
Michael Barton
|
063789b14e |
container_info returns a dict
This change refactors container_info to return a dict instead of a tuple with 6 (and counting...) values. Also adds container size to cached info. Change-Id: If68a06ab170504fbf07323354f3d0e073850493d |
||
|
Jenkins
|
3482eb26f9 | Merge "swift constraints are now settable via config" | ||
|
Jenkins
|
67f21f5e4a | Merge "Breakout search_devs & add get_builder() for reuse" | ||
|
Jenkins
|
d96a7a89f4 | Merge "format some code according to pep8" | ||
|
Jenkins
|
aee707b78d | Merge "Fix pep8 issues" | ||
|
Jenkins
|
6643fb1473 | Merge "Fix pep8 issues" | ||
|
Jenkins
|
fc58cb2c91 | Merge "Obj replicator cleans up files where part dirs should be." | ||
|
John Dickinson
|
a2ac5efaa6 |
swift constraints are now settable via config
Change previously hard-coded constants into config variables. This allows deployers to tune their cluster more specifically based on their needs. For example, a deployment that uses direct swift access for public content may need to set a larger header value constraint to allow for the full object name to be represented in the Content- Disposition header (which browsers check to determine the name of a downloaded object). The new settings are set in the [swift-constraints] section of /etc/swift/swift.conf. Comments were also added to this config file. Cleaned up swift/common/constraints.py to pass pep8 1.3.3 Funtional tests now require constraints to be defined in /etc/test.conf or in /etc/swift/swift.conf (in the case of running the functional tests against a local swift cluster). To have any hope of tests passing, the defined constraints must match the constraints on the tested cluster. Removed a ton of "magic numbers" in both unit and functional tests. Change-Id: Ie4588e052fd158314ddca6cd8fca9bc793311465 |
||
|
Jenkins
|
4bf5ee3850 | Merge "Fix pep8 issues in test_memcached.py." | ||
|
dk647
|
3139760218 |
Fix pep8 issues
Fix pep8 issues in swift/obj/expirer.py Change-Id: Iba80aa5010f0c23e7fe1e5abc230a1c7f76687a8 |
||
|
dk647
|
cde6d597a7 |
Fix pep8 issues
Fix pep8 issues in swift/obj/auditor.py Change-Id: Iae6fe2c7399fd52455d66ba57360e2f7d9e017f3 |
||
|
Florian Hines
|
c0537ac6e0 |
Breakout search_devs & add get_builder() for reuse
This moves search_devs into RingBuilder to make it accessible to other utils that need to search the builder. Along the same lines this also adds a load() call to get a RingBuilder instance when working with the builder files. - This adds python-mock >= 0.7 as a dependency for unittests. On Ubuntu 10.04 you'll have to pip install it, on 12.04 you can apt-get install it. Fedora 17+ should be able to yum install it. - new pep8 compliance - Fixed a small issue (undefined var) in swift-ring-builder when remove was called but failed to find a match. Change-Id: I2e02684235aa2f4e901a00858ae037091594c545 |
||
|
Jenkins
|
7f89e50eaf | Merge "fix some format issure" | ||
|
Jenkins
|
58a924aebf | Merge "fix some format" | ||
|
dk647
|
54e28fa21f |
fix some format
fix some format according to pep8 Change-Id: I8ceb266d92c8997f131fa4096aaa6cfd4d585aaa |
||
|
dk647
|
4d6ae96d92 |
fix some format issure
fir some format according to pep8 Change-Id: Iec8f67ea2166c955732bd598661140d4cfce6d40 |
||
|
dk647
|
edaaa475b8 |
format some code according to pep8
format some code according to pep8 modified: auditor.py modified: reaper.py modified: server.py Change-Id: Ic6d8e000c711d17dcd9047cfeee7876b23ff0605 |
||
|
Darrell Bishop
|
46a093f068 |
Obj replicator cleans up files where part dirs should be.
If a partition directory was a file instead of a directory, the object-replicator would attempt to listdir() it, raise an exception, and try again next iteration. This condition could arise after running xfs_repair. Now, collect_jobs() will reap any partition directories which are actually files. Fixes bug 1045954. Change-Id: Id65d3eab2effd61c3f6b25250611c88c907b2a16 |
||
|
Jenkins
|
2b23eb3e41 | Merge "Can run swift-bench across multiple cores/servers." | ||
|
Alex Yang
|
d56772a898 |
Fix pep8 issues in test_memcached.py.
Change-Id: Ieeee2411f84489ea106909e18e758fd170aa9bca |
||
|
Jenkins
|
6e8284ecbd | Merge "Fall back to UDP if /dev/log does not exist." | ||
|
Constantine Peresypkin
|
73846c2c38 |
fix update_deleted directory creation. bug 1035274
Change-Id: Ie3423ce90d906948a1ce2db0efe3da184e60f6e0 |
||
|
John Dickinson
|
07b4c21b42 |
1.7.1 version bump
Change-Id: I3684a5694844dac282c0e4274b68525732c42637 |
||
|
John Dickinson
|
341da75574 |
changelog and authors updates for 1.7 release
Change-Id: Ie38e49915cfd233bcf00469f184cf8fce7424472 |
||
|
Jenkins
|
93766cd28d | Merge "Update swift.common.db to us swift.cmmn.utils.json" | ||
|
Jenkins
|
a8b8798f72 | Merge "Fix PEP8 issues in ./test/unit/common ." | ||
|
gholt
|
2e16b1f1e5 |
Update swift.common.db to us swift.cmmn.utils.json
Change-Id: Ib4baac7b8b24d7fd982c71591deda3a096f470f2 |
||
|
Soren Hansen
|
314d3b7a85 |
Fall back to UDP if /dev/log does not exist.
If /dev/log does not exist, swift.common.utils.get_logger would fail as it only handles the situation where /dev/log isn't a socket. Fixes bug 1045820 Change-Id: I2c33e0fa7f88f03d5b0495779832ed4de7c496da |
||
|
Michael Barton
|
0bb5d6da13 |
use simplejson to serialize acct/cont results
I did some benchmarking, and it's just a lot faster to use simplejson to serialize account and container listings. Change-Id: Ib0f751d9a5b6f4020031e952986811f0be090cce |
||
|
John Dickinson
|
54a290718c |
bumped version to 1.7.0 to reflect current dev effort
Change-Id: I5423c8bf11b14f862cb321583d91991177fce5eb |