-
Notifications
You must be signed in to change notification settings - Fork 132
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
Concurrent map writes of search attributes due to potential racing condition #1198
Comments
longquanzheng
changed the title
Current map writes of search attributes due to potential racing condition
Concurrent map writes of search attributes due to potential racing condition
Nov 15, 2022
Yeah, i meet this problem recently ...
It seems like using go routine execute upsert attributes would cause this problem. |
more repro:
|
I got more clues about how this happens:
|
Workaround seems working after removing the defer function: #1198 |
More repro again:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Upseart search attributes could got error of concurrent map writes
To Reproduce
Is the issue reproducible?
The same test got pass in Temporal, but sometimes fail with Cadence.
Steps to reproduce the behavior:
Uncomment the test for Cadence Run the integ test from iWF
Expected behavior
The integ test should succeed.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
The text was updated successfully, but these errors were encountered: