Skip to content

[client]Support initial cluster with retries to avoid initial failed when bootstrap server only contains one available address#2024

Merged
wuchong merged 3 commits intoapache:mainfrom
swuferhong:initial-retry
Nov 28, 2025
Merged

[client]Support initial cluster with retries to avoid initial failed when bootstrap server only contains one available address#2024
wuchong merged 3 commits intoapache:mainfrom
swuferhong:initial-retry

Conversation

@swuferhong
Copy link
Copy Markdown
Contributor

Purpose

Linked issue: close #2014

Support initial cluster with retries to avoid initial failed when bootstrap server only contains one available address. Currently, retries are only applied to errors on the allowlist: StaleMetadataException and NetworkException, as these two types of errors may occur during machine upgrades.

Brief change log

Tests

API and Format

Documentation

…when bootstrap server only contains one available address
@swuferhong
Copy link
Copy Markdown
Contributor Author

@wuchong comments addressed.

@swuferhong
Copy link
Copy Markdown
Contributor Author

@wuchong comments addressed.

@wuchong wuchong merged commit f02bcdf into apache:main Nov 28, 2025
5 checks passed
@swuferhong swuferhong deleted the initial-retry branch December 18, 2025 11:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

FlussConnection getTable method fails due to missing retries when fetching metadata

2 participants