Skip to content
This repository was archived by the owner on Nov 15, 2023. It is now read-only.
This repository was archived by the owner on Nov 15, 2023. It is now read-only.

Retry and back-off for try-runtime batch request #13246

@ggwpez

Description

@ggwpez

The final request in the try-runtime CLI attempts to load too many values at once and then aborts on failure.
This is pretty annoying since it takes very long to even get to that point. The solution on the node side is to increase the RPC request/response size, but that makes it incompatible with public RPC. Example error from CI try-runtime-batch-error.txt.

Instead we could add some dynamic back-off to make it work with normal public nodes where it re-tries with a smaller batch size on failure.

Metadata

Metadata

Assignees

Labels

J0-enhancementAn additional feature request.U4-some_day_maybeIssue might be worth doing eventually.Z1-easyCan be fixed primarily by duplicating and adapting code by an intermediate coder

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions