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

[YSQL] Incomplete ErrorData sent from the background workers #22352

Open
1 task done
andrei-mart opened this issue May 10, 2024 · 0 comments
Open
1 task done

[YSQL] Incomplete ErrorData sent from the background workers #22352

andrei-mart opened this issue May 10, 2024 · 0 comments
Assignees
Labels
area/ysql Yugabyte SQL (YSQL) kind/bug This issue is a bug priority/medium Medium priority issue status/awaiting-triage Issue awaiting triage

Comments

@andrei-mart
Copy link
Contributor

andrei-mart commented May 10, 2024

Jira Link: DB-11257

Description

When executing parallel query background workers send their errors and notices to the main process to forward to the client.
Send and receive functions used for that are the part of the Postgres client/server communication protocol implementation.
These functions do not transfer the yb_txn_errcode field.

This field is not forwarded to the client, but is used internally to transparently retry queries in case of statement/transaction conflicts.
Therefore parallel queries are not transparently restarted when statement/transaction conflict errors are coming to the background workers. Lost yb_txn_errcode value does not allow main process to properly identify the conflict.

Issue Type

kind/bug

Warning: Please confirm that this issue does not contain any sensitive information

  • I confirm this issue does not contain any sensitive information.
@andrei-mart andrei-mart added area/ysql Yugabyte SQL (YSQL) status/awaiting-triage Issue awaiting triage labels May 10, 2024
@andrei-mart andrei-mart self-assigned this May 10, 2024
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue labels May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ysql Yugabyte SQL (YSQL) kind/bug This issue is a bug priority/medium Medium priority issue status/awaiting-triage Issue awaiting triage
Projects
None yet
Development

No branches or pull requests

2 participants