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

[DocDB] pg_txn_start_us unset for single shard transactions #22496

Open
1 task done
basavaraj29 opened this issue May 22, 2024 · 0 comments
Open
1 task done

[DocDB] pg_txn_start_us unset for single shard transactions #22496

basavaraj29 opened this issue May 22, 2024 · 0 comments
Assignees
Labels
area/docdb YugabyteDB core features kind/bug This issue is a bug priority/medium Medium priority issue

Comments

@basavaraj29
Copy link
Contributor

basavaraj29 commented May 22, 2024

Jira Link: DB-11422

Description

Seems like pg_txn_start_us is not set for single shard transactions.

AsyncRpcBase<Req, Resp>::AsyncRpcBase(...)
  ...
  if (!metadata.transaction.transaction_id.IsNil()) {
    SetMetadata(metadata, data.need_metadata, &req_);

If so, this could lead to fairness issues among single shard vs distributed waiters since the waiter resumption logic would then depend only on the serial number of the waiting request which changes upon waiter re-entries.

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.
@basavaraj29 basavaraj29 added area/docdb YugabyteDB core features status/awaiting-triage Issue awaiting triage labels May 22, 2024
@basavaraj29 basavaraj29 self-assigned this May 22, 2024
@yugabyte-ci yugabyte-ci added kind/bug This issue is a bug priority/medium Medium priority issue and removed status/awaiting-triage Issue awaiting triage labels May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docdb YugabyteDB core features kind/bug This issue is a bug priority/medium Medium priority issue
Projects
Status: No status
Development

No branches or pull requests

2 participants