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

Azure SQL Server state store changes order of transaction #1505

Closed
shubham1172 opened this issue Feb 17, 2022 · 1 comment · Fixed by #1516
Closed

Azure SQL Server state store changes order of transaction #1505

shubham1172 opened this issue Feb 17, 2022 · 1 comment · Fixed by #1516
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@shubham1172
Copy link
Member

shubham1172 commented Feb 17, 2022

Similar to #1209

Expected Behavior

For the following transaction:

upsert key1 value1
delete key1
upsert key2 value2

Expectation is that key1 should be deleted, key2 should have a value of value2.

Actual Behavior

key1:value1 is present, along with key2: value2.

Steps to Reproduce the Problem

Please use the JS snippet from the referenced issue (1209)

Details

In the transaction snippet for this state store, the delete operations are always executed before upsert operations. This results in failure with message delete affected only 0 rows, expected 1 whenever the above tx is attempted.

Release Note

RELEASE NOTE: FIX Azure SQL Server state store's transaction API to respect order of operations.

@shubham1172
Copy link
Member Author

/assign

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants