Skip to content

2.25.0.0-b454

@fourpointfour fourpointfour tagged this 10 Dec 04:08
Summary:
This diff blocks the user from creating an `IMPLICIT` stream. This is done since the usage of `IMPLICIT` stream has been deprecated and the users should use the `EXPLICIT` stream going forward.

To forcefully use the `IMPLICIT` checkpointing, a GFlag has been added i.e. `cdc_enable_implicit_checkpointing` which should give users the control to create `IMPLICIT` streams - the value of this flag is `false` by default.
Jira: DB-12912

Test Plan:
The diff adds the following new tests:

```
./yb_build.sh --cxx-test yb-admin-test --gtest_filter AdminCliTest.TestAllowImplicitStreamCreationWhenFlagEnabled
./yb_build.sh --cxx-test yb-admin-test --gtest_filter AdminCliTest.TestDisallowImplicitStreamCreation
./yb_build.sh --cxx-test cdcsdk_stream-test --gtest_filter CDCSDKStreamTest.TestDisallowImplicitStreamCreationWhenFlagDisabled
```

Reviewers: skumar, utkarsh.munjal, siddharth.shah, sumukh.phalgaonkar, hsunder, xCluster

Reviewed By: hsunder

Subscribers: hsunder, ycdcxcluster, ybase

Differential Revision: https://phorge.dev.yugabyte.com/D40238
Assets 2
Loading