forked from yugabyte/yugabyte-db
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[yugabyte#14846] CDCSDK: Add support for tablet split for newly added…
… tables Summary: Adding support for streaming changes through a CDCSDK stream for tablet split belonging to tablets of newly added tables. In the method: AddTabletEntriesToCDCSDKStreamsForNewTables , when we add new table details to the stream's metadata and cdc_state table, we now also add the table to 'cdcsdk_tables_to_stream_map_'. This ensures tablets blenging to the new table will not be deleted directly after a successful tablet split, and will rather be hidden , as needed. Test Plan: Added ctests: TestTabletSplitOnAddedTableForCDC TestTabletSplitOnAddedTableForCDCWithMasterRestart Reviewers: skumar, sdash Reviewed By: sdash Subscribers: bogdan Differential Revision: https://phabricator.dev.yugabyte.com/D20841
- Loading branch information
Adithya Bharadwaj
authored and
jayant07-yb
committed
Dec 7, 2022
1 parent
0fee9a6
commit b803175
Showing
2 changed files
with
135 additions
and
0 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