Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address race condition where: (see comment) #4559

Merged
merged 3 commits into from
Dec 30, 2024

Conversation

devinleighsmith
Copy link
Collaborator

@devinleighsmith devinleighsmith commented Dec 30, 2024

  1. (process 1) upload document action starts upload, sets document to processing
  2. (process 2) document poll starts executing with document in processing state
  3. (process 1) upload document action completes upload, sets document to sucess.
  4. (process 2) document poll throws concurrency exception.

@devinleighsmith devinleighsmith added bug Something isn't working 5.7 labels Dec 30, 2024
@devinleighsmith devinleighsmith self-assigned this Dec 30, 2024
Copy link
Contributor

See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/4559

@devinleighsmith devinleighsmith changed the title Address race condition where: Address race condition where: (see comment) Dec 30, 2024
Copy link
Contributor

See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/4559

Copy link
Contributor

See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/4559

1) (thread #1) upload document action starts upload, sets document to processing
2) (thread #2) document poll starts executing with document in processing state
3) (thread #1) upload document action completes upload, sets document to sucess.
4) (thread #2) document poll throws concurrency exception.
Copy link
Contributor

See CodeCov Report Here: https://app.codecov.io/github/bcgov/psp/pull/4559

@devinleighsmith devinleighsmith merged commit 5bc754c into bcgov:dev Dec 30, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
5.7 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants