-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#17118] CDCSDK: Remove tables with no active streams from namespace_…
…to_cdcsdk_unprocessed_table_map_ Summary: As part of the CreateTable RPC in CatalogManager, all successfully newly created tables are added to: namespace_to_cdcsdk_unprocessed_table_map_ , and later we see if this table needs to be added to a CDCSDK stream or not. But if there were no active streams in the namespace, we have to remove the table from "namespace_to_cdcsdk_unprocessed_table_map_", which was missed earlier (https://phabricator.dev.yugabyte.com/D24801). Now changes are made in the 'AddNewTableToCDCDKStreamsMetadata' method, to remove such tables which need not be added to any stream. Additionally, added some VLOGs for ease of debugging. Jira Issue(s): DB-6403 Test Plan: ./yb_build.sh --cxx-test integration-tests_cdcsdk_ysql-test --gtest_filter CDCSDKYsqlTest. TestAdd100TableToNamespaceWithActiveStream Reviewers: skumar Reviewed By: skumar Subscribers: bogdan, xCluster Differential Revision: https://phabricator.dev.yugabyte.com/D25018
- Loading branch information
Adithya Bharadwaj
committed
May 4, 2023
1 parent
da3e29e
commit 3d3480b
Showing
3 changed files
with
51 additions
and
2 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