-
Notifications
You must be signed in to change notification settings - Fork 115
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
go/worker/compute/executor: Minor bug fixes #5404
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
peternose
changed the title
Peternose/bugfix/fix bakcup workers
go/worker/compute/executor: Minor bug fixes
Oct 13, 2023
peternose
force-pushed
the
peternose/bugfix/fix-bakcup-workers
branch
from
October 16, 2023 07:54
782d5f9
to
9c099a1
Compare
The timestamp of the last block lags behind and depends on the consensus layer's speed. As a result, it is not suitable for scheduling backup proposers.
peternose
force-pushed
the
peternose/bugfix/fix-bakcup-workers
branch
from
October 16, 2023 07:54
9c099a1
to
60aa2c7
Compare
Transition to a new state once all transactions are fetched. This will immediately trigger batch processing.
peternose
force-pushed
the
peternose/bugfix/fix-bakcup-workers
branch
from
October 16, 2023 09:36
60aa2c7
to
ccb26b5
Compare
Codecov Report
@@ Coverage Diff @@
## master #5404 +/- ##
==========================================
- Coverage 66.55% 66.14% -0.42%
==========================================
Files 534 533 -1
Lines 56325 56326 +1
==========================================
- Hits 37489 37257 -232
- Misses 14414 14643 +229
- Partials 4422 4426 +4
|
peternose
requested review from
kostko,
peterjgilbert,
pro-wh and
ptrus
as code owners
October 16, 2023 16:17
Calculating the pool rank from roothash events does not prevent backup schedulers from starting when higher-ranked schedulers have already committed to their proposals, especially when the proposer timeout is shorter than the time required to generate a consensus block. Therefore, it is more suitable to estimate the rank from observed executor commitments.
peternose
force-pushed
the
peternose/bugfix/fix-bakcup-workers
branch
from
October 17, 2023 08:12
ccb26b5
to
23e2205
Compare
kostko
approved these changes
Oct 17, 2023
Also backport to |
In unit tests, CometBFT typically generates consensus blocks at a rate of 10 per second. However, if consensus timeout occurs in steps RoundStepPropose or RoundStepPrecommitWait, this rate can significantly decrease to just 1 block per second or even worse. If test requires waiting for a few consensus blocks, these delays can accumulate and potentially lead to failures.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.