ckan / ckan/ckanext-validation
Unnecessary validation of unmodified resources in same dataset
- Dominant language
- Python
- Stars
- 30
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
# Overview
When a resource is modified, all resources in the dataset are validated, even though most of them are unmodified. On datasets with many resources, this can result in a substantial performance problem, especially if the resources are large.
It appears that the `after_update` function assumes that the presence of "resources" in the data dictionary means that the whole package is being updated at once. However, this is not necessarily the case. If a resource is updated via eg the `resource_update` API, then this code path will still trigger.
---
Please preserve this line to notify @amercader (lead of this repository)
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.