-
Notifications
You must be signed in to change notification settings - Fork 500
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Proper data file deletion #371
Comments
Original Redmine Comment Phil, Please note the 2nd part of the ticket: "We should make sure they are removed from the Solr index too." I'm assuming this will be taken care of next time the dataset gets reindexed. So my understanding is that it's not necessary to specifically remove the information associated with the file from the Solr index files; because when we index a dataset, we wipe its Solr record clean, then repopulate it by iterating through the files that still exist... But I'm giving it to you to confirm. (I'm assuming we may want to force a reindex after we delete a datafile; but then we should be careful - this DeleteDataFileCommand can be called by the DeleteDatasetCommand, which calls it for every file in the dataset when it's being deleted... So it would be kinda silly to reindex after deleting every single file, when the entire dataset is being deleted...) When you're done with this ticket, please give it to QA (there's not UI for this functionality yet, but they can test it, with curl for example). |
I deleted a text file from a draft only version but the file remained on the file system.
|
Never had a chance to look into this. Will be working on it this week. Re-tagging beta 5. |
Appears to be a duplicate of #652. I'll close this ticket when 652 is fixed. |
Moved #652 into QA. (this is the same issue). |
OK, tested and it works, there is a search issue that was opened in a separate ticket Closing |
Author Name: Michael Bar-Sinai (@michbarsinai)
Original Redmine Issue: 3786, https://redmine.hmdc.harvard.edu/issues/3786
Original Date: 2014-03-27
Original Assignee: Kevin Condon
Hello Leonid,
Continuing our discussion etc, please delete additional data when files are deleted. I recommend adding the code to DeleteDataFileCommand.
We should make sure they are removed from the Solr index too.
Related issue(s): #372
Redmine related issue(s): 3787
The text was updated successfully, but these errors were encountered: