yugabyte / yugabyte/yugabyte-db
[CDC] Make yb-ts-cli command cdc_release_barriers_on_tablet fine grained
- Dominant language
- C
- Stars
- 10.5k
- Forks
- 1.3k
- PR merge metrics
- PR metrics pending
Description
Jira Link: [DB-21673](https://yugabyte.atlassian.net/browse/DB-21673)
### Description
Currently the yb-ts-cli command `cdc_release_barriers_on_tablet` takes the tablet-id as input and releases all the CDC retention barriers on the peer of this tablet residing on this tserver. This means this command releases the WAL, intents and the history barriers on the tablet in one go.
We need to add options to this command to release only specific barriers. For example, we should be able to release any combination of CDC barriers
### Source connector version
NA
### Connector configuration
NA
### YugabyteDB version
_No response_
### Issue Type
kind/enhancement
### Warning: Please confirm that this issue does not contain any sensitive information
- [x] I confirm this issue does not contain any sensitive information.
[DB-21673]: https://yugabyte.atlassian.net/browse/DB-21673?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.