ckan / ckanext-harvest

Remote harvesting extension for CKAN
130 stars 203 forks source link

harvest job shows gather errors from previous run #506

Open sabinem opened 2 years ago

sabinem commented 2 years ago

CKAN Version 2.8.10, ckanext-harvest version v1.4.0

I have the following problem with my harvesters:

The previous errors are created at this call: https://github.com/ckan/ckanext-harvest/blob/2560315910499d2ba4b6308efa789bdc977ae0ab/ckanext/harvest/logic/action/update.py#L863

Before the call the harvester job is there, but it does not have any errors. After the call the errors have been stored for the harvester, despite the fact that the gather method of the harvester has not even started yet.

This happened both for the run_test paster command but also when I start the harvester via the WebUI.

I suspect that it has something to do with redis. Is there any hint on what might cause the problem and how to prevent it?