swift/swift/obj
Tim Burke ade3b28636 diskfile: Prevent get_hashes from creating missing partition dirs
The relinker currently blindly calls get_hashes on partitions in the
new, upper half of the partition space, which can cause extra handoffs
to be created if you're rerunning the relink step for safety.

Even if the relinker were smarter, though, there's no reason that a
curious operator should end up creating empty handoffs just because
they're poking devices with REPLICATE requests

Drive-by: be a little more strict about the "suffixes" we're willing to
put in hashes.invalid and read out of hashes.pkl.

Change-Id: I9aace80088cd00d02c418fe4d782b662fb5c8bcf
2021-03-29 10:26:05 -07:00
..
watchers Let developers/operators add watchers to object audit 2020-12-26 17:16:14 -06:00
__init__.py Initial commit of Swift code 2010-07-12 17:03:45 -05:00
auditor.py Let developers/operators add watchers to object audit 2020-12-26 17:16:14 -06:00
diskfile.py diskfile: Prevent get_hashes from creating missing partition dirs 2021-03-29 10:26:05 -07:00
expirer.py replace md5 with swift utils version 2020-12-15 09:52:55 -05:00
mem_diskfile.py replace md5 with swift utils version 2020-12-15 09:52:55 -05:00
mem_server.py Per-policy DiskFile classes 2015-04-14 00:52:16 -07:00
reconstructor.py ssync: sync non-durable fragments from handoffs 2021-01-20 12:00:10 +00:00
replicator.py Fix up some log message grammar 2020-12-17 09:24:51 -08:00
server.py ssync: sync non-durable fragments from handoffs 2021-01-20 12:00:10 +00:00
ssync_receiver.py ssync: sync non-durable fragments from handoffs 2021-01-20 12:00:10 +00:00
ssync_sender.py ssync: sync non-durable fragments from handoffs 2021-01-20 12:00:10 +00:00
updater.py Merge "object-updater: Ignore ENOENT when trying to unlink stale pending files" 2020-05-17 05:08:59 +00:00