You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently we don't modify the WAL retention time when a CDC stream is created through a SetupUniverseReplication request that is sent directly to the master. This is related to #2050.
The text was updated successfully, but these errors were encountered:
…ated through a SetupUniverseReplication request
Summary:
Currently the WAL retention time is being modified in the CDC service by the method `CDCServiceImpl::CreateCDCStream`.
As part of the `SetupUniverseReplication` process, we create CDC streams for all the specified tables in the request. Because `CatalogManager::SetupUniverseReplication` create CDC streams by calling `CatalogManager::CreateCDCStream`, the WAL retention time for these tablets won't get modified.
This diff moves the modification of the WAL retention time from `CDCServiceImpl::CreateCDCStream` to `CatalogManager::CreateCDCStream`. Because `CatalogManager::CreateCDCStream` will be called by `CDCServiceImpl::CreateCDCStream`, the WAL retention time will be modified regardless of how the CDC stream was created.
Test Plan:
ybd release --cxx-test integration-tests_cdc_service-int-test --gtest_filter CDCServiceTest.TestCreateCDCStreamWithDefaultRententionTime -n 100
ybd release --cxx-test integration-tests_twodc-test --gtest_filter TwoDCTest.TestWalRetentionSet -n 100
Reviewers: nicolas, neha, mikhail
Reviewed By: nicolas, neha
Subscribers: sergei, ybase, bogdan
Differential Revision: https://phabricator.dev.yugabyte.com/D7246
Currently we don't modify the WAL retention time when a CDC stream is created through a SetupUniverseReplication request that is sent directly to the master. This is related to #2050.
The text was updated successfully, but these errors were encountered: