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

events: Fix handling of multiple matched events per epoch #6355

Merged
merged 1 commit into from
May 31, 2021

Conversation

magik6k
Copy link
Contributor

@magik6k magik6k commented May 30, 2021

Got a reliable repro for the deals getting stuck in StorageDealAwaitingPreCommit issue when trying to debug #6041 with rr (which runs with one thread, and makes everything slower).

Basically, we would ignore (Pre)Commit messages if there was more than one matching message from a miner in a given epoch. Normally we wouldn't hit this very often, but it was pretty common case of test flakiness.

Fixes #6123
Fixes #5890
Fixes #5377
Fixes #2249 (probably)

Copy link
Member

@whyrusleeping whyrusleeping left a comment

Choose a reason for hiding this comment

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

Nice find. Excited to see how much flakiness all over this improves.

@magik6k magik6k enabled auto-merge May 31, 2021 08:49
@magik6k magik6k merged commit be3a8bd into master May 31, 2021
@magik6k magik6k deleted the fix/evt-many-called-epoch branch May 31, 2021 09:11
@nonsense
Copy link
Member

Great stuff! This was happening on occasion on Testground as well, awesome that it is fixed now!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment