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

Call the "peer leaves" callback only once on group delete. #976

Merged
merged 1 commit into from
Jul 7, 2018

Conversation

iphydf
Copy link
Member

@iphydf iphydf commented Jul 7, 2018

We used to pass the actual peer numbers of peers leaving, but we no
longer know these in the PGC world, so we don't pass them anymore.


This change is Reviewable

@iphydf iphydf added this to the v0.2.x milestone Jul 7, 2018
@iphydf iphydf requested a review from sudden6 July 7, 2018 10:45
@sudden6 sudden6 added the api break Change breaks API or ABI label Jul 7, 2018
Copy link

@sudden6 sudden6 left a comment

Choose a reason for hiding this comment

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

this change itself makes sense atm, but in the future it would be nice to have some sort of identification for the peer that left

Reviewed 3 of 3 files at r1.
Reviewable status: 0 of 1 LGTMs obtained (waiting on @sudden6)

Copy link

@sudden6 sudden6 left a comment

Choose a reason for hiding this comment

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

:lgtm_strong:

Reviewable status: :shipit: complete! 1 of 1 LGTMs obtained

We used to pass the actual peer numbers of peers leaving, but we no
longer know these in the PGC world, so we don't pass them anymore.
@iphydf
Copy link
Member Author

iphydf commented Jul 7, 2018

This is not breaking any public api.

@iphydf iphydf removed the api break Change breaks API or ABI label Jul 7, 2018
@iphydf iphydf merged commit 08ff19a into TokTok:master Jul 7, 2018
@iphydf iphydf deleted the group-leave-cb-once branch July 7, 2018 16:39
@iphydf iphydf modified the milestones: v0.2.x, v0.2.4 Jul 16, 2018
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