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 mio for Tcp management in bootstrap system #3780

Merged
merged 103 commits into from
May 3, 2023
Merged

Conversation

modship
Copy link
Member

@modship modship commented Apr 6, 2023

  • document all added functions
  • try in sandbox /simulation/labnet
  • unit tests on the added/changed features
    • make tests compile
    • make tests pass
  • add logs allowing easy debugging in case the changes caused problems
  • if the API has changed, update the API specification

@modship
Copy link
Member Author

modship commented Apr 6, 2023

@Ben-PH i think etablisher.rs can be deleted

@Ben-PH Ben-PH changed the base branch from bootstrap/mocked-and-sync to testnet_22 April 19, 2023 16:07
@modship modship marked this pull request as ready for review May 2, 2023 08:45
@Ben-PH
Copy link
Contributor

Ben-PH commented May 2, 2023

@modship d25f902 should fix the event-loop breakout being blocked.

massa-bootstrap/src/server.rs Outdated Show resolved Hide resolved
massa-bootstrap/src/tests/scenarios.rs Outdated Show resolved Hide resolved
massa-bootstrap/src/tests/scenarios.rs Outdated Show resolved Hide resolved
Copy link
Contributor

@Ben-PH Ben-PH left a comment

Choose a reason for hiding this comment

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

With follow up issues, lgtm. Nice work, @modship

EDIT: #3890

massa-bootstrap/src/listener.rs Outdated Show resolved Hide resolved
massa-bootstrap/src/listener.rs Show resolved Hide resolved
massa-bootstrap/src/listener.rs Show resolved Hide resolved
massa-bootstrap/src/listener.rs Show resolved Hide resolved
massa-bootstrap/src/server.rs Show resolved Hide resolved
massa-bootstrap/src/server.rs Show resolved Hide resolved
@modship
Copy link
Member Author

modship commented May 2, 2023

With follow up issues, lgtm. Nice work, @modship

Thanks @Ben-PH , u too ✌️

Copy link
Contributor

@AurelienFT AurelienFT left a comment

Choose a reason for hiding this comment

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

Seems ok to me if it has been tested on labnet i'm ok to merge. If you need help to fix conflicts related to network refactoring ping me on discord.

@Ben-PH Ben-PH merged commit 66c26d6 into testnet_22 May 3, 2023
@AurelienFT AurelienFT deleted the bootstrap/listener branch May 29, 2023 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bootstrap Issues related to the bootstrap
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bootstrap improvements tracking issue
3 participants