catalyst / moodle-tool_metadata

Moodle Metadata API
2 stars 0 forks source link

Scheduled tasks may skip resources on failure #41

Closed tomdickman closed 4 years ago

tomdickman commented 4 years ago

If a metadata scheduled task which creates extraction records fails during processing, currently the start id for the next run will already have been updated, this is incorrect, we should try the task again from the same startid, the startid should not be incremented until successful processing is conducted.