Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
dcache-resilience: propagate file op error to pool op and display
Motivation: To make it clear to admins whether a pool has cleanly scanned. Modification: Add an error counter to the pool operation. When the file operation terminates, increment this counter if it has failed. Add a message to the end of the pool operation output indicating the number of errors encountered (thus far). The counter is reset to 0 at the next change of pool status or scan. The date format has also been shortened on the operation output lines. Result: Inspection of the pool operations using 'pool ls' now reveals whether the most recent scan completed without file operation errors or not. NOTE: As this is a new feature, I am not sure if we should backport. One could argue that it addresses a potential issue which is dangerous, and thus merits inclusion in the stable branches. Target: master Acked-by: Tigran
- Loading branch information
Showing
6 changed files
with
51 additions
and
17 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
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