commit ac01d186b44856385a13fa77ecf527238c803443
Author: Pete Zaitcev <email address hidden>
Date: Mon Feb 11 21:42:34 2019 -0600
Leave less garbage in /var/tmp
All our tests that invoked broker.set_sharding_state() created
/var/tmp/tmp, when it called DatabaseBroker.get_device_path(),
then added "tmp" to it. We provided 1 less level, so it walked up
ouside of the test's temporary directory.
The case of "cleanUp" instead of "tearDown" didn't break out of
jail, but left trash in /var/tmp all the same.
Change the behavior of the EC reconstructor to perform a fragment
rebuild to a handoff node when a primary peer responds with 507 to the
REPLICATE request.
Each primary node in a EC ring will sync with exactly three primary
peers, in addition to the left & right nodes we now select a third node
from the far side of the ring. If any of these partners respond
unmounted the reconstructor will rebuild it's fragments to a handoff
node with the appropriate index.
To prevent ssync (which is uninterruptible) receiving a 409 (Conflict)
we must give the remote handoff node the correct backend_index for the
fragments it will recieve. In the common case we will use
determistically different handoffs for each fragment index to prevent
multiple unmounted primary disks from forcing a single handoff node to
hold more than one rebuilt fragment.
Handoff nodes will continue to attempt to revert rebuilt handoff
fragments to the appropriate primary until it is remounted or
rebalanced. After a rebalance of EC rings (potentially removing
unmounted/failed devices), it's most IO efficient to run in
handoffs_only mode to avoid unnecessary rebuilds.
Reviewed: https:/ /review. openstack. org/637142 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=b68bef5cd80 e2a1b71a1ef544e 122b39dfa7ac57
Committed: https:/
Submitter: Zuul
Branch: feature/losf
commit 926a024135d3809 99d9f8494b19b59 bb87a7f5b6
Author: Tim Burke <email address hidden>
Date: Thu Feb 14 21:02:01 2019 +0000
Fix up flakey TestContainer. test_PUT_ bad_metadata
Change-Id: I7489f2bb95c27d 1ddd5e8fa7e5786 904100fb567
commit 002d21991e100ee 6199e79679ae990 c96ea05730
Author: Tim Burke <email address hidden>
Date: Wed Feb 13 17:02:08 2019 +0000
Make get_data/ async/tmp_ dir explicit
functools. partial is all well and good in code, but apparently it
doesn't play real well with docs.
Change-Id: Ia460473af9038d 890346502784e3c f4d0e1d1c40
commit ac01d186b448563 85a13fa77ecf527 238c803443
Author: Pete Zaitcev <email address hidden>
Date: Mon Feb 11 21:42:34 2019 -0600
Leave less garbage in /var/tmp
All our tests that invoked broker. set_sharding_ state() created get_device_ path(),
/var/tmp/tmp, when it called DatabaseBroker.
then added "tmp" to it. We provided 1 less level, so it walked up
ouside of the test's temporary directory.
The case of "cleanUp" instead of "tearDown" didn't break out of
jail, but left trash in /var/tmp all the same.
Change-Id: I8030ea49e2a977 ebb7048e1d5dcf1 7338c1616df
commit bb1a2d45685a3b2 230f21f7f6ff0e9 98e666723e
Author: Tim Burke <email address hidden>
Date: Fri Jul 27 20:03:36 2018 +0000
Display crypto data/metadata details in swift-object-info
Change-Id: If577c69670a10d ecdbbf5331b1a38 d9392d12711
commit ea8e545a27f0686 8323ff91c1584d1 8ab9ac6cda
Author: Clay Gerrard <email address hidden>
Date: Mon Feb 4 15:46:40 2019 -0600
Rebuild frags for unmounted disks
Change the behavior of the EC reconstructor to perform a fragment
rebuild to a handoff node when a primary peer responds with 507 to the
REPLICATE request.
Each primary node in a EC ring will sync with exactly three primary
peers, in addition to the left & right nodes we now select a third node
from the far side of the ring. If any of these partners respond
unmounted the reconstructor will rebuild it's fragments to a handoff
node with the appropriate index.
To prevent ssync (which is uninterruptible) receiving a 409 (Conflict)
we must give the remote handoff node the correct backend_index for the
fragments it will recieve. In the common case we will use
determistically different handoffs for each fragment index to prevent
multiple unmounted primary disks from forcing a single handoff node to
hold more than one rebuilt fragment.
Handoff nodes will continue to attempt to revert rebuilt handoff failed devices), it's most IO efficient to run in
fragments to the appropriate primary until it is remounted or
rebalanced. After a rebalance of EC rings (potentially removing
unmounted/
handoffs_only mode to avoid unnecessary rebuilds.
Closes-Bug: #1510342
Change-Id: Ief44ed39d97f65 e4270bf73051da9 a2dd0ddbaec
commit 8a6159f67b6a3e7 917e68310e4c24a ae819fe187
Author: Tim Burke <email address hidden>
Date: Fri Feb 8 09:36:35 2019 -0800
Stop using duplicate dev IDs in write_fake_ring
This would cause some weird issues where get_more_nodes() would actually
yield out something, despite us only having two drives.
Change-Id: Ibf658d69fce075 c76c0870a542348 f220376c87a
commit 43103319d0aa27f 24e6520c0962bd1 9e55568ad4
Author: Tim Burke <email address hidden>
Date: Wed Feb 6 16:48:17 2019 -0800
encryption: Stop being cutesy with os.path.join()
Turns out, we *care* about the path, and object paths *don't follow
filesystem semantics*!
Be explicit: /<account> /<container> /<object>
Bump the key version number so we know whether we can trust the full path
or not.
Change-Id: Ide9d44cc185753 06363126a93d91f 662c6ee23e0
Related-Bug: 1813725
commit b2b1f96b0eb2062 676f01ef46ec12f 6badc73ff3
Author: Tim Burke <email address hidden>
Date: Thu Jan 31 13:54:04 2019 -0800
docs: clean up Object Versioning page
Before, there were some ugly blockquotes getting added for no good
reason.
Change-Id: I871ff743f0a30d 2639b937f338dd3 7ce2eabd1f9
commit 1a51604b26e7cd1 b3f3e7d30176b25 1501070e07
Author: Tim Burke <email address hidden>
Date: Thu Nov 29 17:55:55 2018 -0800
s3api: Look for more indications of aws-chunked uploads
Change-Id: I7dda8a25c9e13b 0d81293f0a966c3 4713c93f6ad
Related-Bug: 1810026