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

golang gorm app fails with Operation only supported in SERIALIZABLEisolation level #32

Open
schoudhury opened this issue Jun 19, 2019 · 1 comment

Comments

@schoudhury
Copy link
Contributor

schoudhury commented Jun 19, 2019

Creating a new user on the golang gorm app fails with the following error:

{
  "message": {
    "Severity": "ERROR",
    "Code": "0A000",
    "Message": "Operation only supported in SERIALIZABLEisolation level",
    "Detail": "",
    "Hint": "See https://github.com/YugaByte/yugabyte-db/issues/1199. Click '+' on the description to raise its priority",
    "Position": "",
    "InternalPosition": "",
    "InternalQuery": "",
    "Where": "",
    "Schema": "",
    "Table": "",
    "Column": "",
    "DataTypeName": "",
    "Constraint": "",
    "File": "pg_yb_utils.c",
    "Line": "573",
    "Routine": "YBRaiseNotSupported"
  },
  "status": false
}
@azeemshahzad
Copy link
Contributor

Pull request submitted for this fix (#50). Transaction isolation level is set to SERIALIZABLE at session level at the start of the session.

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

No branches or pull requests

2 participants