This repository has been archived by the owner on Feb 12, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ignore attachment conflicts for now, problem with cloudant
- Loading branch information
2239733
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
does doc.put_attachment in bin/make need a similar workaround?
2239733
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like that is already retrying on conflict
2239733
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am fairly ruby illiterate, but it looks like it retries by attempting to save the attachment again (presumably with the document version id it got from db.get(id) ), if the failure is due to a race condition in the big couch back end, and the put_attachement actually worked (and the version was updated to 3-xxx) then won't these subsequent retries always fail?