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

Remove Slot Monotic Constraint #109

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

jedleggett
Copy link
Collaborator

Slots from RPCs were restrained to be monotonically increasing. However, during temporary forks, this can interrupt proper packet forwarding.

}
if let Err(e) = slot_sender.send(slot.slot)
{
error!("error sending slot: {e}");
Copy link
Contributor

@esemeniuc esemeniuc Feb 21, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
error!("error sending slot: {e}");
error!("error sending slot {}: {e}", slot.slot);

@esemeniuc
Copy link
Contributor

Do we choose the rpc with the highest slot?

error!("error sending slot: {e}");
break;
}
if let Err(e) = slot_sender.send(slot.slot)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is not going to work super well if RPCs are running behind. note the following graph from our internal + external RPC cluster:
Screenshot 2024-02-21 at 11 16 42 AM

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.

None yet

3 participants