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

Use separate waiter maps for parents and top-level TXes #4291

Merged
merged 1 commit into from
Aug 25, 2022

Conversation

mystenmark
Copy link
Contributor

I previously thought it was okay to re-use the same Waiter for both parent TXes and top-level TXes, but this was wrong because wait_for_parents can start waiting before the top-level wait, which makes is_first false at the top level. (This was only an issue when killing and restarting a node mid-sync).

@mystenmark mystenmark requested a review from lxfind August 25, 2022 00:52
@mystenmark mystenmark merged commit bb111b4 into main Aug 25, 2022
@mystenmark mystenmark deleted the mlogan-multiple-final branch August 25, 2022 01:19
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.

2 participants