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

Skip messages from the wrong instance instead of returning an error #442

Merged
merged 2 commits into from
Jul 11, 2024

Conversation

Stebalien
Copy link
Member

Due to async message delivery, we'll frequently get messages from the wrong instance. Log (trace) and drop them.

Part of #421.

Due to async message delivery, we'll frequently get messages from the
wrong instance. Log (trace) and drop them.

Part of #421.
@Stebalien Stebalien requested a review from Kubuxu July 10, 2024 13:29
@Stebalien
Copy link
Member Author

Ah, well, I need to fix the tests...

Copy link
Collaborator

@Kubuxu Kubuxu left a comment

Choose a reason for hiding this comment

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

LGTM but tests

@Stebalien Stebalien enabled auto-merge July 11, 2024 12:24
@Stebalien Stebalien added this pull request to the merge queue Jul 11, 2024
Copy link

codecov bot commented Jul 11, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 68.60%. Comparing base (f08fbf9) to head (3d3e39d).
Report is 7 commits behind head on main.

❗ There is a different number of reports uploaded between BASE (f08fbf9) and HEAD (3d3e39d). Click for more details.

HEAD has 2 uploads less than BASE
Flag BASE (f08fbf9) HEAD (3d3e39d)
4 2
Additional details and impacted files

Impacted file tree graph

@@            Coverage Diff             @@
##             main     #442      +/-   ##
==========================================
- Coverage   75.46%   68.60%   -6.86%     
==========================================
  Files          42       46       +4     
  Lines        3786     4530     +744     
==========================================
+ Hits         2857     3108     +251     
- Misses        644      894     +250     
- Partials      285      528     +243     
Files Coverage Δ
gpbft/participant.go 86.04% <100.00%> (+0.08%) ⬆️

... and 15 files with indirect coverage changes

Merged via the queue into main with commit d0f5a05 Jul 11, 2024
12 of 13 checks passed
@Stebalien Stebalien deleted the steb/demote-wrong-instance-warning branch July 11, 2024 12:42
@Kubuxu Kubuxu linked an issue Jul 13, 2024 that may be closed by this pull request
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.

Improve ReceiveMessage error handling
3 participants