Skip to content

fix(drive): core RPC retry all errors - #1140

Merged
shumkov merged 5 commits into
v0.25-devfrom
fix/drive/core_rpc_retry_all_errors
Jun 6, 2023
Merged

shumkov merged 5 commits into
v0.25-devfrom
fix/drive/core_rpc_retry_all_errors

Conversation

@shumkov

@shumkov shumkov commented May 31, 2023 •

Copy link
Copy Markdown
Collaborator

Issue being fixed or feature implemented

Core RPC retry logic handles all types of errors, even wrong user input, internal library errors or specific errors that needs to be handled manually.

What was done?

  • Retry only transport errors and Core RPC errors:
    • RPC_IN_WARMUP
    • RPC_CLIENT_NOT_CONNECTED
    • RPC_CLIENT_IN_INITIAL_DOWNLOAD

How Has This Been Tested?

Running existing tests

Breaking Changes

None

Checklist:

  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have added or updated relevant unit/integration/functional/e2e tests
  • I have made corresponding changes to the documentation

For repository code-owners and collaborators only

  • I have assigned this pull request to a milestone

@shumkov
shumkov requested a review from antouhou as a code owner May 31, 2023 18:46
@shumkov shumkov added this to the v0.25.0 milestone May 31, 2023
@shumkov shumkov changed the title fix(drive): Core RPC retry all errors fix(drive): dore RPC retry all errors Jun 1, 2023
@shumkov shumkov changed the title fix(drive): dore RPC retry all errors fix(drive): core RPC retry all errors Jun 1, 2023
@shumkov
shumkov requested a review from QuantumExplorer June 1, 2023 03:16
@shumkov
shumkov merged commit a578789 into v0.25-dev Jun 6, 2023
@shumkov
shumkov deleted the fix/drive/core_rpc_retry_all_errors branch June 6, 2023 17:57
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