Repository navigation
Tags
Tags
tempurl/staticweb: Make listings with ?inline work as intended We have code (and tests!) in staticweb to preserve `inline` query params when generating URLs for the listing, but tempurl wasn't actually sending it! Fix it so users can have media displayed in-browser rather than always download. Related-Change: I7949185fdd3b64b882df01d54a8bc158ce2d7032 Change-Id: Icc5e0496b951d0d408048fdfcc30ecfcb302423e Signed-off-by: Tim Burke <tim.burke@gmail.com>
Use signals for timeout on os.wait() Eventlet is pretty good at waiting on I/O, but pretty bad at waiting on processes -- it enters a poll loop with a non-configurable 10ms sleep between checks. This busy-wait approach is tolerable when there's *also* I/O to wait on, but the WSGI server management processes are only waiting on subprocesses. As a result, I regularly see 0.5-1% CPU usage per manager process despite there being no changes in child processes or rings. Now, use the real, blocking os.wait() instead of eventlet -- but set a signal timer to break us out of it periodically so we can still check for ring changes. Change-Id: I227ca4f16c4314fc91663a25f2bb4623c6d761ca
swift 2.34.0 release meta:version: 2.34.0 meta:diff-start: - meta:series: dalmatian meta:branch: master meta:release-type: release meta:pypi: no meta:first: yes meta:release:Author: Előd Illés <elod.illes@est.tech> meta:release:Commit: Tim Burke <tim.burke@gmail.com> meta:release:Change-Id: Id5434ccb4f38c3827c1f81a54fc4d087b8d6fea8 meta:release:Code-Review+2: Thierry Carrez <thierry@openstack.org> meta:release:Code-Review+2: Jens Harbott <frickler@offenerstapel.de> meta:release:Workflow+1: Thierry Carrez <thierry@openstack.org>
swift 2.33.0 release meta:version: 2.33.0 meta:diff-start: - meta:series: caracal meta:branch: master meta:release-type: release meta:pypi: no meta:first: yes meta:release:Author: Előd Illés <elod.illes@est.tech> meta:release:Commit: Elod Illes <elod.illes@est.tech> meta:release:Change-Id: I4b2c8ac6d2ec1f9bf04c8d521c14763f481d8acc meta:release:Code-Review+2: Thierry Carrez <thierry@openstack.org> meta:release:Code-Review+1: Tim Burke <tburke@nvidia.com> meta:release:Workflow+1: Thierry Carrez <thierry@openstack.org> meta:release:Code-Review+2: Elod Illes <elod.illes@est.tech>
ring: Introduce a v2 ring format There's a bunch of moving pieces here: - Add a new RingWriter class. Stick it in a new swift.common.ring.io module. You *can* use it like the old gzip file, but you can also define named sections which can be referenced later on read. Section names may be arbitrary strings, but the "swift/" prefix is reserved for upstream use. Sections must contain a single length-value encoded BLOB. If sections are used, an additional BLOB is written at the end containing a JSON section-index, followed by an uncompressed offset for the index. Move RingReader to ring/io.py, too. - Drop MD5 tracking in RingReader. It was brittle at best anyway, and nothing uses it. YAGNI Drive-by: Fix size/raw_size attributes when loading only metadata. - Add the ability to seek within RingReaders, though you need to know what you're doing and only seek to flush points. - Let RingData and RingBuilder objects change how wide their replica2part2dev_id arrays are. Add a dev_id_bytes key to serialized ring metadata. Change-Id: Ia0ac4ea2006d8965d7fdb6659d355c77386adb70
swift 2.32.0 release meta:version: 2.32.0 meta:diff-start: - meta:series: bobcat meta:branch: master meta:release-type: release meta:pypi: no meta:first: yes meta:release:Author: Tim Burke <tim.burke@gmail.com> meta:release:Commit: Tim Burke <tim.burke@gmail.com> meta:release:Change-Id: I78899b6d11c6b3338a626804335966c224c6e552 meta:release:Code-Review+2: Elod Illes <elod.illes@est.tech> meta:release:Code-Review+2: Thierry Carrez <thierry@openstack.org> meta:release:Workflow+1: Elod Illes <elod.illes@est.tech>
swift 2.31.1 release meta:version: 2.31.1 meta:diff-start: - meta:series: antelope meta:release-type: release meta:pypi: no meta:first: no meta:release:Author: Hervé Beraud <hberaud@redhat.com> meta:release:Commit: Thierry Carrez <thierry@openstack.org> meta:release:Change-Id: I5e5b925422353d6b7c9aa43a06b37912e15b2d4a meta:release:Code-Review+2: Thierry Carrez <thierry@openstack.org> meta:release:Code-Review+2: Elod Illes <elod.illes@est.tech> meta:release:Workflow+1: Elod Illes <elod.illes@est.tech>
PreviousNext