summaryrefslogtreecommitdiff
path: root/swift/common/middleware/s3api/s3request.py
diff options
context:
space:
mode:
authorClay Gerrard <clay.gerrard@gmail.com>2019-02-18 20:05:46 -0600
committerClay Gerrard <clay.gerrard@gmail.com>2019-03-18 15:09:54 -0500
commit585bf40cc0d8d88849dcf11d409e8c5a2a202a8d (patch)
tree5135142e1424ee85fdd54627d6e01519ba286865 /swift/common/middleware/s3api/s3request.py
parent703249d6cbc9ece5c015efe4333d2acf1d403bc0 (diff)
downloadswift-585bf40cc0d8d88849dcf11d409e8c5a2a202a8d.tar.gz
Simplify empty suffix handling
We really only need to have one way to cleanup empty suffix dirs, and that's normally during suffix hashing which only happens when invalid suffixes get rehashed. When we iterate a suffix tree using yield hashes, we may discover an expired or otherwise reapable hashdir - when this happens we will now simply invalidate the suffix so that the next rehash can clean it up. This simplification removes an mis-behavior in the handling between the normal suffix rehashing cleanup and what was implemented in ssync. Change-Id: I5629de9f2e9b2331ed3f455d253efc69d030df72 Related-Change-Id: I2849a757519a30684646f3a6f4467c21e9281707 Closes-Bug: 1816501
Diffstat (limited to 'swift/common/middleware/s3api/s3request.py')
0 files changed, 0 insertions, 0 deletions