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

go/worker/compute/executor: Minor fixes #5426

Merged
merged 12 commits into from
Nov 7, 2023
Merged

Conversation

peternose
Copy link
Contributor

No description provided.

@peternose peternose force-pushed the peternose/bugfix/minor-fixes branch 3 times, most recently from 6bee867 to 3d36519 Compare November 6, 2023 10:03
Copy link

codecov bot commented Nov 6, 2023

Codecov Report

Merging #5426 (62ebb4e) into master (b577a0b) will increase coverage by 0.01%.
Report is 5 commits behind head on master.
The diff coverage is 90.15%.

❗ Current head 62ebb4e differs from pull request most recent head 626172d. Consider uploading reports for the commit 626172d to get more accurate results

@@            Coverage Diff             @@
##           master    #5426      +/-   ##
==========================================
+ Coverage   66.41%   66.42%   +0.01%     
==========================================
  Files         533      533              
  Lines       56351    56364      +13     
==========================================
+ Hits        37424    37442      +18     
- Misses      14513    14519       +6     
+ Partials     4414     4403      -11     
Files Coverage Δ
go/consensus/cometbft/apps/roothash/roothash.go 74.78% <100.00%> (+0.98%) ⬆️
go/consensus/cometbft/full/common.go 64.40% <100.00%> (-1.40%) ⬇️
go/roothash/api/api.go 72.97% <ø> (ø)
go/roothash/tests/tester.go 92.98% <100.00%> (+0.05%) ⬆️
go/runtime/host/sgx/sgx.go 68.75% <ø> (ø)
go/runtime/txpool/txpool.go 83.37% <100.00%> (-5.52%) ⬇️
go/worker/client/committee/node.go 67.35% <ø> (-0.50%) ⬇️
go/worker/common/committee/group.go 82.85% <ø> (-1.56%) ⬇️
go/worker/common/committee/node.go 62.91% <100.00%> (+2.31%) ⬆️
go/worker/common/committee/p2p.go 88.88% <ø> (+5.55%) ⬆️
... and 8 more

... and 51 files with indirect coverage changes

@peternose peternose marked this pull request as ready for review November 6, 2023 10:55
Copy link
Member

@kostko kostko left a comment

Choose a reason for hiding this comment

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

Also don't forget to backport.

go/worker/compute/executor/committee/discrepancy.go Outdated Show resolved Hide resolved
go/worker/compute/executor/committee/hooks.go Outdated Show resolved Hide resolved
@peternose peternose force-pushed the peternose/bugfix/minor-fixes branch from 3d36519 to 62ebb4e Compare November 7, 2023 11:04
The periodic re-attestation happens every hour, while explicitly requested
re-attestation takes place approximately every 1 to 2 hours. This results
in both re-attestations occurring closely together. To avoid unnecessary
re-attestation and re-registration, we extend the periodic re-attestation
interval to encompass the worst-case scenario of explicit attestation.
When a node is not a member of the committee, events, commitments,
and transactions accumulate in the channels. When the node gets
re-elected, it must process these channels first, potentially
resulting in delayed submission of its commitments or incorrect
discrepancy detection.
@peternose peternose force-pushed the peternose/bugfix/minor-fixes branch from 62ebb4e to 626172d Compare November 7, 2023 13:16
@peternose peternose enabled auto-merge November 7, 2023 14:03
@peternose peternose merged commit abbab48 into master Nov 7, 2023
4 checks passed
@peternose peternose deleted the peternose/bugfix/minor-fixes branch November 7, 2023 14:10
@peternose peternose mentioned this pull request Nov 7, 2023
@peternose peternose added the c:bug Category: bug label Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:bug Category: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants