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

Error on batch execute request is not propagated. #42

Closed
kadishmal opened this issue May 29, 2015 · 0 comments
Closed

Error on batch execute request is not propagated. #42

kadishmal opened this issue May 29, 2015 · 0 comments
Assignees
Labels
Milestone

Comments

@kadishmal
Copy link
Contributor

During concurrent batch execute requests if the parallel requests cause a deadlock, CUBRID intelligently decides which of the requests should be killed so that the rest transactions could continue.

If a batch transaction is failed due to a deadlock the following error code and message is returned however node-cubrid doesn't detect it as an error so the error is not propagated to the user.

Error: -72:Your transaction (index 97, DBA@db-host|16337) has been unilaterally aborted by the system.

The response message must be interpreted properly as an error and returned to a user.

A safe suggestion to a user is to retry the operation.

@kadishmal kadishmal added the bug label May 29, 2015
@kadishmal kadishmal self-assigned this May 29, 2015
@kadishmal kadishmal added this to the 2.2.4 milestone May 29, 2015
kadishmal added a commit that referenced this issue May 29, 2015
Fix #42: Error on batch execute request is not propagated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant