Skip to content

New perl script for synchronisation of specific files on FS

Created by: stavamichal

  • instead of using whole filesystem sync, use sync of specific files by new perl script sync.pl
  • add new script to perun-base package (debian and rpm), path for new script is /opt/perun/lib/base/sync.pl
  • add perl dependencies for perun-base package
  • create and modify functions in perun-base script for working with new synchronization using perl script
  • replace using of sync command in all affected services
  • add needed changelogs for modified services
  • modify process of generating dependencies by Makefile (now every service need to have file 'dependencies' in working dir to specify at least dependency on perun-slave-base
  • modify dependencies of affected services to depend on perun-slave-base version bigger or equal to 3.1.7
  • Reason: command "sync" does synchronization of all mounted file systems on machine and if some of them are network fs, it can freeze the server for really long time. Synchronization of specific files can prevent this situation.

Merge request reports

Loading