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

Swim refactor #176

Merged
merged 65 commits into from
Apr 18, 2020
Merged

Swim refactor #176

merged 65 commits into from
Apr 18, 2020

Conversation

pshemass
Copy link
Contributor

No description provided.

Copy link
Member

@mijicd mijicd left a comment

Choose a reason for hiding this comment

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

Looks good after the first pass. I will make another pass later. Didn't want to repeat myself too much, but from the cosmetic side of the world you can:

  • use aliases (Stream, IO etc.) rather than Z-fellas :)
  • make case classes final

keeper/src/main/scala/zio/keeper/TaggedCodec.scala Outdated Show resolved Hide resolved
keeper/src/main/scala/zio/keeper/TaggedCodec.scala Outdated Show resolved Hide resolved
keeper/src/main/scala/zio/keeper/TaggedCodec.scala Outdated Show resolved Hide resolved
keeper/src/main/scala/zio/keeper/ByteCodec.scala Outdated Show resolved Hide resolved
keeper/src/main/scala/zio/keeper/errors.scala Outdated Show resolved Hide resolved
@pshemass pshemass changed the title WIP Swim refactor Swim refactor Apr 13, 2020
@pshemass
Copy link
Contributor Author

@mijicd @mschuwalow work is done to the point I feel comfortable to merge it. I plan to add config for SWIM, layers for Nodes and Messages and probably improve Broadcast a little bit but after we figure out what to do with Transport

I need to look why tests are hanging on CI. I run them more than 10 times locally and I couldn't have reproduced it. Maybe this is something with UDP.

Copy link
Member

@mijicd mijicd left a comment

Choose a reason for hiding this comment

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

Very nice work! I've made some remarks and tried to do the annoying ones as commit suggestions.

Copy link
Member

@mschuwalow mschuwalow left a comment

Choose a reason for hiding this comment

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

Looks good. I'll take a close look tomorrow

@mijicd mijicd merged commit d4d7aea into zio:master Apr 18, 2020
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.

None yet

5 participants