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

Add options for configuring automatic network error retries #39

Merged
merged 1 commit into from
Nov 3, 2022

Conversation

akudiyar
Copy link
Collaborator

@akudiyar akudiyar commented Nov 3, 2022

New client configuration options include:

  • tarantool.retries.errorType: may be "network" or "none" (default). If set to "network", the other two options are mandatory.
  • tarantool.retries.maxAttempts: max retry attempts for a single request.
  • tarantool.retries.delay: delay between subsequent attempts (milliseconds).

Adding these options enables automatic retries of certain types of network errors that may depend on the network conditions or internal Tarantool cluster state. More information can be found in https://github.com/tarantool/cartridge-java README.

Closes #36
Affects #35

New client configuration options include:
 - tarantool.retries.errorType: may be "network" or "none" (default). If set to "network",
 the other two options are mandatory.
 - tarantool.retries.maxAttempts: max retry attempts for a single request.
 - tarantool.retries.delay: delay between subsequent attempts (milliseconds).

Adding these options enables automatic retries of certain types of network errors
that may depend on the network conditions or internal Tarantool cluster state.
More information can be found in https://github.com/tarantool/cartridge-java README.
@akudiyar akudiyar merged commit 6feefa5 into master Nov 3, 2022
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.

Add an ability to retry specific dataset write errors
1 participant