Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[DBZ-PGYB] Bug fix to use correct getter for maximum retries #170

Merged
merged 1 commit into from
Jan 28, 2025

Conversation

vaibhav-yb
Copy link
Collaborator

@vaibhav-yb vaibhav-yb commented Jan 28, 2025

This PR fixes a method by overriding it in PostgresConnectorConfig class to use the value we have defined as our maximum retry count. Currently, the code uses the value defined in the base class which defaults to the the connector going for unlimited retries.

Testing

Ran some manual tests where I simulated failures by bringing down the YB cluster and observing that the logs are indicating a finite number of retries instead of unlimited retries.

@vaibhav-yb vaibhav-yb self-assigned this Jan 28, 2025
@Sumukh-Phalgaonkar
Copy link

Can you add a test plan. I believe adding a UT might not be feasible here, but can you describe the manual testing performed to validate the changes.

@vaibhav-yb vaibhav-yb merged commit 842d267 into yugabyte:ybdb-debezium-2.5.2 Jan 28, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants