-
Notifications
You must be signed in to change notification settings - Fork 2
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
Use package_revise
instead of resource_create
#28
Labels
bug
Something isn't working
Comments
paulmueller
added a commit
that referenced
this issue
Sep 7, 2021
…d before uploading the next resource
In 4db9a95, a temporary workaround for failing tests or hanging "online" states is implemented. If |
paulmueller
added a commit
that referenced
this issue
Oct 14, 2021
paulmueller
added a commit
to DCOR-dev/ckanext-dcor_schemas
that referenced
this issue
Oct 26, 2021
Package revise works now. However, the server-side implementation is still pending. Currently, I am using a workaround for ckan/ckan#2949 and manually call |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Affected code:
DCOR-Aid/dcoraid/upload/dataset.py
Lines 70 to 80 in 71097d9
Using
package_revise
instead ofresource_create
was @wardi's suggestion in the ckan gitter.im chat.package_revise
can be used with the__extend
syntax to support file uploads.The original problem were race conditions when resources were added and at the same time
package_revise
was called from other threads.package_revise
should be atomic if and only if onlypackage_revise
is used.The text was updated successfully, but these errors were encountered: