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

Stock Item balances must be updated with concurrency control #111

Open
steveblamey opened this issue Apr 7, 2016 · 0 comments
Open

Stock Item balances must be updated with concurrency control #111

steveblamey opened this issue Apr 7, 2016 · 0 comments

Comments

@steveblamey
Copy link
Member

For performance reasons, the total stock balance for an item is maintained as a field on st_items and updated with st_balances in STTransaction::save. STItem->balance should match the total of st_balances for the item but STTransaction::savesuffers from the same race condition identified in #94

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

No branches or pull requests

1 participant