Skip to content
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

pbs delete_tasks does not delete all the tasks #21

Open
alejandrodob opened this issue Feb 22, 2016 · 2 comments
Open

pbs delete_tasks does not delete all the tasks #21

alejandrodob opened this issue Feb 22, 2016 · 2 comments

Comments

@alejandrodob
Copy link
Contributor

not all the tasks are deleted, sometimes it takes several attempts to delete them completely.

@teleyinex
Copy link
Member

I guess the issue is how it's handled in the backend. We've have discussed about this in the past. I think we'll need to actually move the delete to a backend job. Basically, the first delete marks the tasks and associated elements to be deleted and make them not accessible, and then a backend job looks for those items and get deleted, taking the time it needs to check all the FK. What do you think?

@alejandrodob
Copy link
Contributor Author

The thing is that, when experiencing the issue you describe with the web interface, none of the tasks is deleted, while with pbs some of them are, but not all of them. Also, this has happened to me with a relatively small amount of tasks to be deleted (27) and with such on the web I've never seen this happen. That makes me think that maybe there's another reason behind this. We need to investigate further.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants