-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#22489] CDC: Address YB_TODOs in logical replication related files
Summary: This diff addresses the YB_TODOs left in the logical replication related files during PG 15 merge. Following files contained these YB_TODOs: - **reorderbuffer.c** PG15 introduced two-phase transactions, but these are not yet supported in YB. Hence kept the code related to streaming of partially streamed two-phase transactions inside `!IsYugaByteEnabled()` block. - **yb_decode.c** The signature of the function `ReorderBufferQueueChange()` has changed in PG15. A new argument called `toast_insert` has been added. Since YB does not support on disk TOASTing, the value of this argument will be always be false. - **walsender.c** A new check has been introduced in PG15 to verify that `restart_lsn` is not invalid (0) at the time of starting logical replication. We simply enable this check here. Jira: DB-11416 Test Plan: Jenkins: test regex: .*(CDC|ReplicationSlot).* Reviewers: skumar, siddharth.shah, stiwary, utkarsh.munjal Reviewed By: siddharth.shah, stiwary Subscribers: yql, ycdcxcluster Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D42112
- Loading branch information
1 parent
1be9e85
commit b2e06d6
Showing
3 changed files
with
8 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters