-
Notifications
You must be signed in to change notification settings - Fork 3
feat: enable set multiple blob provider #305
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, looks good! Left some minor nits inline.
} | ||
Err(err) => { | ||
debug!(target: "scroll::providers", ?hash, ?block_timestamp, ?provider_index, ?err, provider_type, "provider failed to fetch blob"); | ||
counter.store(provider_index + 1, Ordering::Relaxed); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
now this means we will always just use the same provider until it fails. why not just always rotate independently whether it succeeds/fails. then we do truly round robin
This PR enable RN to set multiple blob providers, and round robin provides. This will increase stability.
There is a priority order:
Corresponding issue: #262