-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[CDCSDK] [PG Parity] Consistency broke when run with nemesis: Received restart LSN 1 is less than the last received restart LSN 185267 #21950
Labels
Comments
shamanthchandra-yb
added
area/cdcsdk
CDC SDK
status/awaiting-triage
Issue awaiting triage
labels
Apr 12, 2024
yugabyte-ci
added
kind/bug
This issue is a bug
priority/medium
Medium priority issue
priority/high
High Priority
and removed
priority/medium
Medium priority issue
labels
Apr 12, 2024
shamanthchandra-yb
changed the title
[CDCSDK] [PG Parity] Consistency broke when run with nemesis
[CDCSDK] [PG Parity] Consistency broke when run with nemesis: Received restart LSN 1 is less than the last received restart LSN 185267
Apr 18, 2024
dr0pdb
added a commit
that referenced
this issue
Apr 23, 2024
…eipt of commit record Summary: We maintain a list of unacked transactions for the calculation of the restart_lsn from the confirmed_flush lsn. Prior to this revision, this list also included a transaction at the end for which we haven't yet received the COMMIT record from the CDC service. Such a transaction is stored with commit_lsn as InvalidXLogRecPtr (0) and was leading to issues in the calculation in the restart_lsn. This revision updates the logic to put a transaction into the list only on the receipt of the commit record. Jira: DB-10866 Test Plan: Jenkins: test regex: .*ReplicationSlot.* Reviewers: asrinivasan Reviewed By: asrinivasan Subscribers: ycdcxcluster, yql Differential Revision: https://phorge.dev.yugabyte.com/D34327
dr0pdb
added a commit
that referenced
this issue
Apr 29, 2024
…bug logs and unacked txn fix Summary: ##### Backport Description All merges were clean. No conflicts. ##### Original Description Original commits: 1b902ba / D34327 48a0279 / D34483 5e24eff / D34530 ###### YSQL: Insert transaction into unacked txn list only upon receipt of commit record We maintain a list of unacked transactions for the calculation of the restart_lsn from the confirmed_flush lsn. Prior to this revision, this list also included a transaction at the end for which we haven't yet received the COMMIT record from the CDC service. Such a transaction is stored with commit_lsn as InvalidXLogRecPtr (0) and was leading to issues in the calculation in the restart_lsn. This revision updates the logic to put a transaction into the list only on the receipt of the commit record. Jira: DB-10866 ###### YSQL: Log the time taken in converting from QLValuePB to PG datum in walsender The walsender spends a considerable amount of time in converting QLValuePB to PG datum in ybc_pggate. Add a VLOG(1) which logs the time taken in this operation. Jira: DB-11059 ###### YSQL: Log the time taken in yb_decode and reorder buffer This revision adds computation and logging of the time taken by the Walsender in yb_decode and reorderbuffer while processing a single batch from the CDC service. Jira: DB-11071 Test Plan: Jenkins: test regex: .*ReplicationSlot.* Reviewers: asrinivasan, skumar Reviewed By: skumar Subscribers: yql, ycdcxcluster Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D34535
svarnau
pushed a commit
that referenced
this issue
May 25, 2024
…eipt of commit record Summary: We maintain a list of unacked transactions for the calculation of the restart_lsn from the confirmed_flush lsn. Prior to this revision, this list also included a transaction at the end for which we haven't yet received the COMMIT record from the CDC service. Such a transaction is stored with commit_lsn as InvalidXLogRecPtr (0) and was leading to issues in the calculation in the restart_lsn. This revision updates the logic to put a transaction into the list only on the receipt of the commit record. Jira: DB-10866 Test Plan: Jenkins: test regex: .*ReplicationSlot.* Reviewers: asrinivasan Reviewed By: asrinivasan Subscribers: ycdcxcluster, yql Differential Revision: https://phorge.dev.yugabyte.com/D34327
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Jira Link: DB-10866
Description
Please refer JIRA for stress run link.
Connector log ERROR:
Source connector version
fourpointfour/ybdb-debezium:0.3
Connector configuration
YugabyteDB version
2.23.0.0-b131
Issue Type
kind/bug
Warning: Please confirm that this issue does not contain any sensitive information
The text was updated successfully, but these errors were encountered: