-
Notifications
You must be signed in to change notification settings - Fork 13k
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
[FLINK-7661][network] Add credit field in PartitionRequest message #4698
Conversation
1765f70
to
feef05e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for the contribution.
Looks good to me.
Actually, what worries me a bit are the test failures of the 3rd and 4th test profile. I think, they're unrelated (especially the Kafka ones which are kind of instable at the moment in general), but the other ones look strange. Can you let them re-run to see if this is consistent? |
@NicoK , thanks for your reviews! I checked the travis failure before and thought it should be existing flaky ones. I will re-trigger the tests later and see the results. |
1e3e9eb
to
5665a85
Compare
@NicoK , it already passed travis tests this time. |
ok, cool, then we can merge this PR as anticipated |
8dc3799
to
d32430c
Compare
@zentol , I have rebased the latest master codes and solved the conflicts. |
merging. |
What is the purpose of the change
PartitionRequest
message adds the credit field which corresponds to the number of exclusive segments inInputChannel
.This pull request is based on 4499.
Brief change log
PartitionRequest
messagegetInitialCredit()
method inRemoteInputChannel
Verifying this change
This change is already covered by existing tests, such as NettyMessageSerializationTest.
Does this pull request potentially affect one of the following parts:
@Public(Evolving)
: (no)Documentation