irods / irods_capability_automated_ingest

Other
12 stars 16 forks source link

Add an intentionally failing task which implicates individual files which failed to sync #296

Open alanking opened 2 weeks ago

alanking commented 2 weeks ago

When files fail to sync, it will cause the rest of the files in the chunk for that task to fail as well. This could be done simply by allowing the rest of the files in the task to continue syncing.

The failed sync(s) could cause that sync task to fail, which would cause the whole thing to be retried later or require the caller to audit the files in the chunk against objects which successfully synced to the destination collection.

Alternatively, each file which fails to sync could be placed in a new task which intentionally fails but contains information about the file which failed to sync so that it can be retried or at least more easily understood as to what failed.

korydraughn commented 2 weeks ago

I'm assuming the files which follow the failure will be allowed to proceed, correct?

alanking commented 2 weeks ago

Yes, the failure should be caught and then the task should continue processing its list of files.

korydraughn commented 2 weeks ago

Good.

alanking commented 1 week ago

Possible duplicate of https://github.com/irods/irods_capability_automated_ingest/issues/184