Skip to content

Error on batch execute request is not propagated. #42

Closed

Description

@kadishmal

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.

Activity

  1. self-assigned this
    on May 29, 2015
  2. added this to the 2.2.4 milestone on May 29, 2015
  3. added a commit that references this issue on May 29, 2015
    b15ec08
  4. added a commit that references this issue on May 29, 2015
    147b5d0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions