db_purge and remote files

Message boards : Server programs : db_purge and remote files
Message board moderation

To post messages, you must log in.

AuthorMessage
Seth

Send message
Joined: 19 Nov 16
Posts: 50
Australia
Message 77361 - Posted: 13 Apr 2017, 10:43:10 UTC

Hi Guys,
I'd like to tidy up my DB size via db_purge. Reading the documentation for this I see:

"Workunits are purged only when their input files have been deleted"

How does this work when you have chosen to host input files on a remote HTTP server?

All I really want to do is remove completed results/workunits from my DB that were completed more than 7 days ago.

Cheers
Seth
[/b]
ID: 77361 · Report as offensive
ChristianB
Volunteer moderator
Volunteer developer
Volunteer tester

Send message
Joined: 4 Jul 12
Posts: 305
Germany
Message 77367 - Posted: 13 Apr 2017, 17:09:27 UTC

The meaning is that file_deleter needs to have set the file_delete_state for all results and all workunits to done. file_deleter should ignore remote files and set the status to done. If that is not working check the file_deleter logfile why it is not setting the status.
ID: 77367 · Report as offensive

Message boards : Server programs : db_purge and remote files

Copyright © 2017 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.