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

[5.0 -> main] Normalize speculative & producer block intervals #1841

Merged
merged 3 commits into from
Oct 30, 2023

Conversation

heifner
Copy link
Member

@heifner heifner commented Oct 28, 2023

#1481 changed speculative block creation so that speculative blocks would always have a current block time. However, it didn't correctly handle the case where the configured producer was the scheduled producer but could not produce (e.g. incorrect configured private key). This PR simplifies the implementation to just use the producer schedule as configured by produce-block-offset-ms regardless if the block is speculative or a producer block. This normalizes block production time for speculative and producer blocks. I think this normalization is better than maintaining different block intervals for speculative vs producer nodes.

Merges release/5.0 into main including #1840

Resolves #1837

@heifner heifner requested review from greg7mdp and linh2931 October 28, 2023 20:30
@heifner heifner added the OCI Work exclusive to OCI team label Oct 28, 2023
@heifner heifner merged commit 9d8bbca into main Oct 30, 2023
29 checks passed
@heifner heifner deleted the GH-1837-bp-time-main branch October 30, 2023 12:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
OCI Work exclusive to OCI team
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5.0: lots of "not producing block" messages on the backup BP
3 participants