Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dcache-resilience: repair handling of broken files*
Motivation: When a checksum or broken file message/error is generated, Resilience makes a best effort to (a) remove the broken copy and (b) make another replica. This, of course, is not always possible, particularly if the broken file is the only accessible copy. However, there is currently a logical error in how the handler method determines whether it should remove and reprocess the file. Modifications: Distinguish cases (a) when there are actually less than two known locations and (b) when there is only one readable location (which happens to be the corrupted one). Result: Faulty behavior, particularly the thrashing noted in the case of a restaging operation which results in a checksum error, no longer occurs. Target: master Request: 4.0 Request: 3.2 Request: 3.1 Request: 3.0 Request: 2.16 Require-notes: yes Require-book: no Acked-by: Tigran
- Loading branch information
Showing
4 changed files
with
69 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters