Files
swift/test/unit/cli/test_relinker.py
Tim Burke 1db2816119 relinker: Rehash the parts actually touched when relinking
This has a few different benefits:

* When re-running the relinker, we won't try to rehash partitions
  outside the expanded range.
* When running on a small, sparse cluster (like in dev or testing) we
  won't try to rehash an empty new partition.
* If we find old files from an earlier part power increase and link them
  into the correct partition, we'll rehash the one we actually linked
  to.
* If we relink a file during cleanup that was missed during relink,
  we'll rehash it rather than waiting for the replicator to do it.

Related-Change: I9aace80088cd00d02c418fe4d782b662fb5c8bcf
Change-Id: I3c91127e19156af7a707ad84c5a89727df87f2f1
2021-05-12 10:02:35 +01:00

164 KiB