[ome-users] Purpose of cleanse script
Carnë Draug
carandraug+dev at gmail.com
Fri Jun 9 13:14:59 BST 2017
Hi
I was going through the 2017 meeting trello board and noticed a card
about making cleanse be run automatically [1].
I am a bit confused now because I originally thought that cleanse was
required to remove the files after someone having deleted them or
after a failed import. I was then told that the aim of the script was
a workaround for Windows which could lock the files which prevented
omero from removing the file. So since Windows is no longer
supported, is cleanse needed at all?
Also, the docs seem a bit contradictory. In the docs about deleting [2]:
When Images, Plates or File Annotations have been successfully
deleted from the database the corresponding binary data is
deleted from the binary repository. It is possible that some
files may not be successfully deleted if they are locked for any
reason. In this case, the undeleted files can be removed
manually via omero admin cleanse.
and the docs about backup [3]:
The OMERO.server does not remove files from disk until a cleanup
task has been run. A script to do this is included in the
OMERO.server distribution lib/python/omero/util/cleanse.py
What does really happen? And is cleanse still recommended?
Thank you
David
[1] https://trello.com/c/DMmF5YiD
[2] https://www.openmicroscopy.org/site/support/omero5.3/developers/Modules/Delete.html
[3] https://www.openmicroscopy.org/site/support/omero5.3/sysadmins/server-backup-and-restore.html
More information about the ome-users
mailing list