Draft: Sweeping !1023 from master to devel: [master] Add hacky version of SandboxStoreHandler for migrating to a new volume
BEGINRELEASENOTES
*WorkloadManagement CHANGE: Add hacky version of SandboxStoreHandler for migrating to a new volume
ENDRELEASENOTES
- 8ee7747b shows the change which is currently being used to test this in certification
- c1174b62 changes this to remove the debugging prints and update the path used for the new location
I'll leave this running in certification for a little while to check it works as expected and I've made a note of what is currently stored:
[dirac@lhcbvoboxcertif00 ~]$ find /opt/dirac/storage/sandboxes/SandBox/ -type f -printf '%T+ %p\n' | sort | head -n 1
2020-03-18+08:18:15.3708512350 /opt/dirac/storage/sandboxes/SandBox/l/lhcb_mc/e6f/b02/e6fb02a1356b8e88799a0959016c3593.tar.bz2
[dirac@lhcbvoboxcertif00 ~]$ find /opt/dirac/storage/sandboxes/SandBox/n -type f -printf '%T+ %p\n' | sort | head -n 1
2020-06-03+11:50:10.9518929710 /opt/dirac/storage/sandboxes/SandBox/n/nraja.lhcb_user/968/2e2/9682e29e5ae2ce5edb3875dc7703c812.tar.bz2
[dirac@lhcbvoboxcertif00 ~]$ find /opt/dirac/storage/sandboxes/SandBox/n -type f | wc -l
236
[dirac@lhcbvoboxcertif00 ~]$ find /opt/dirac/storage/sandboxes/SandBox/ -type f > "$HOME/sandboxstore-old-$(date -u).txt"
[dirac@lhcbvoboxcertif00 ~]$ find /opt/dirac/storage/sandboxes-new/SandBox/ -type f > "$HOME/sandboxstore-new-$(date -u).txt"
[dirac@lhcbvoboxcertif00 ~]$ wc -l $HOME/sandboxstore-*
19 /home/dirac/sandboxstore-new-Tue Jun 8 11:23:24 UTC 2021.txt
1209 /home/dirac/sandboxstore-old-Tue Jun 8 11:23:45 UTC 2021.txt
Edited by Chris Burr