Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BACKPORT 2.20][#23700] CDCSDK: Use leader epoch instead of leader te…
…rm in table removal bg task Summary: **Backport description:** No merge conflicts **Original description:** Original commit: 7a4b409 / D38155 Catalog manager background thread processes tables that needs to be removed from CDC streams. As part of the removal, we modify the stream metadata and persist in sys-catalog table. While persisting, we were using the leader ready term instead of the leader epoch fetched at the start of the background thread which has been fixed now. Jira: DB-12608 Test Plan: Jenkins: urgent Existing cdc ctests Reviewers: xCluster, hsunder, skumar, sumukh.phalgaonkar Reviewed By: skumar Subscribers: ycdcxcluster, ybase Tags: #jenkins-ready Differential Revision: https://phorge.dev.yugabyte.com/D38216
- Loading branch information