Skip to content

Conversation

@ramanakumars
Copy link
Collaborator

@ramanakumars ramanakumars commented Apr 26, 2023

There have been a few soft crashes with subject uploads, leading to the question of whether the async subject upload was causing issues. I've added a new non-asynchronous save method which appears to be more stable.

One other issue was when Panoptes would throw a 409: Attempted to update a stale object: SubjectSet. when updating subject sets with uploaded subjects. I've added a condition to the request to retry on a 409 error, which has fixed this issue.

@ramanakumars ramanakumars changed the title Adding synchronous subject save and fixing 409 crashes Fixing 409 crashes Jun 28, 2023
@ramanakumars
Copy link
Collaborator Author

Changing the scope of this PR from removing the async saves to purely fixing the 409 error. I've added a reload to the subject set before it links the subjects. This should fix the "Stale resource" error.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants