yugabyte / yugabyte/yugabyte-db
[xCluster] Prevent xcluster consumer from starting pollers based off a stale config
- Dominant language
- C
- Stars
- 10.5k
- Forks
- 1.3k
- PR merge metrics
- PR metrics pending
Description
Jira Link: [DB-14062](https://yugabyte.atlassian.net/browse/DB-14062)
### Description
Do not start new pollers if we have not received a fresh heartbeat from the master. This ensures that we do not start pollers based off a stale config, when the tablet leaders move.
For ex: If a stream is paused and another node has already notified master that it has stopped polling. But we have not receded the config update yet and the tablet leader moves to us, we should not restart polling.
### 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-14062]: https://yugabyte.atlassian.net/browse/DB-14062?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.