cbrain icon indicating copy to clipboard operation
cbrain copied to clipboard

Move validation checks and cleanup checks outside of boot process

Open prioux opened this issue 7 years ago • 0 comments

When the BrainPortal or Bourreau boots, some validations and cleanup steps are performed that are not necessary to do every time. Move them out so the boot process is faster. They steps shoudl be performed by rake tasks, or maybe triggered in the console, or with the interface, or all three. Optionally, these steps could be run in reporting mode only, or in active fixing mode.

  • On BrainPortal: (file lib/portal_system_checks.rb)
  • None
  • On Bourreau: (file lib/bourreau_system_checks.rb)
  • (Remove completely) old task work directories convention adjustments
  • Check for existence of task work directories
  • Check for consistent task archived flag
  • Refreshing task workdir size
  • Spurious task workdirs
  • On both: (file lib/cbrain_system_checks.rb)
  • Old SyncStatus object
  • Old files in Cache

prioux avatar Oct 19 '17 15:10 prioux