[CDC] Reset WAL retention time when a table doesn't have any more CDC streams #2159
Labels
area/docdb
YugabyteDB core features
kind/enhancement
This is an enhancement of an existing feature
priority/medium
Medium priority issue
Jira Link: DB-1895
When we create a CDC stream, we are modifying the WAL retention time for all the tablets in a table, but we need to revert this once a table doesn't have a stream.
The default WAL retention time is 5 minutes when there is no CDC stream, and 4 hours when there is a CDC stream, so we should avoid keeping logs for 4 hours when they are not needed (no CDC stream on the table).
This is related to #2050
The text was updated successfully, but these errors were encountered: