Skip to content

Adding functionality to the XCache Consistency Check tool

Compare
Choose a tag to compare
@ddavila0 ddavila0 released this 12 May 23:50
5efe181
  • Add logic to remove corrupted files and an option to don't remove but just logging it
  • Fix logging to stdout after using file handler on logging.
  • Make the script to exit when cannot write to DB
  • Fix logic around using user defined 'path', 'rootfile' or finding path automatically
  • Change log messages to show full path and not only the file name
  • Update the last check timestamp in a db record when the checksum is verified
  • Store full path instead of only filename on db to avoid possible duplicates
  • Preventing crashing due to some non-required arguments are not defined on the config file
  • Add option ‘remove_only_from’ to allow removing files from a specific list of directories