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
Error in datastore updating resource #3980
Comments
I have new information about the issue, We had been detect that when a updating process is started from the CKAN web portal in the same network, CKAN execute the next query sometimes (more than one time): |
@jroigfer , thanks for reporting - i'll try to investigate this during next week |
After numerous attempts, I was unable to reproduce this issue. I suspect, that problem can be related to thread execution. Something like slight delay via VPN that allows finishing changes/creation of table inside parallel process/thread, whereas using local network, your request is handled almost instantly when not all changes are committed into db. Could you try to reduce the number of server's threads/processes to just 1 and try to reproduce the error? |
* [DC-11626] clean up - use more variables in extension deployments, fix copyright notice * [DC-11626] add notice about Datashades no longer maintaining their cookbook * [DC-11626] add error handling for race condition during datastore file uploads - see ckan/ckan#3980
Should have been addressed with #5255, please reopen otherwise |
CKAN Version if known (or site URL)
2.6.3
Please describe the expected behaviour
Update resource uploading new file should be replace the file.
Please describe the actual behaviour
Connecting through a vpn to the internal network and accessing the portal to update a resource, the resource always is updated correctly whitout errors, but accessing from the internal network without vpn, when trying to replace the file by updating the resource, an internal server error (500) appears, the datapusher if it updates the resource information well, but in the ckan logs an error appears when executing the sql SELECT alias_of FROM "_table_metadata" WHERE name = :id' in the datastore database:
What steps can be taken to reproduce the issue?
The text was updated successfully, but these errors were encountered: