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

Support retry mechanism when get available tablet server nodes failed #480

Open
2 tasks done
zhaozijun109 opened this issue Feb 25, 2025 · 0 comments · May be fixed by #426
Open
2 tasks done

Support retry mechanism when get available tablet server nodes failed #480

zhaozijun109 opened this issue Feb 25, 2025 · 0 comments · May be fixed by #426

Comments

@zhaozijun109
Copy link

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

Currently, fluss will directly throw an exception when get available tablet server node fails, no matter what the reason once tablet server list is empty at the first attampet get, it will throw an exception, this is too unfriendly, so we can add retry logic to become strong.

Solution

Add retry times to avoid throwing an exception directly in getOneAvailableTabletServerNode(), and we need send metadata request to update cluster then try to get one available tablet server node again when available tablet server node list is empty in cluster.

Anything else?

No response

Willingness to contribute

  • I'm willing to submit a PR!
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 a pull request may close this issue.

1 participant