GitHub user zhijiangW opened a pull request:
https://github.com/apache/flink/pull/4695
Flink 7661
## What is the purpose of the change
*`PartitionRequest` message adds the credit field which corresponds to the
number of exclusive segments in `InputChannel`.
*This pull request is based on
[4499](https://github.com/apache/flink/pull/4499) whose commit is also included
for passing travis. Review the third commit for this PR change*.
## Brief change log
- *Add credit field in `PartitionRequest` message*
- *Add `getInitialCredit()` method in `RemoteInputChannel`*
## 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:
- Dependencies (does it add or upgrade a dependency): (no)
- The public API, i.e., is any changed class annotated with
`@Public(Evolving)`: (no)
- The serializers: (no)
- The runtime per-record code paths (performance sensitive): (no)
- Anything that affects deployment or recovery: JobManager (and its
components), Checkpointing, Yarn/Mesos, ZooKeeper: (no)
## Documentation
- Does this pull request introduce a new feature? (no)
- If yes, how is the feature documented? (not applicable)
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/zhijiangW/flink FLINK-7661
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/4695.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #4695
----
commit 2101c95135f2b8602ab118cf4dd6b5ca6f95092e
Author: Zhijiang <[email protected]>
Date: 2017-08-07T09:31:17Z
[FLINK-7378][core]Create a fix size (non rebalancing) buffer pool type for
the floating buffers
commit 54991b9969e5cdc549c858ce2e2cacd0db148974
Author: Zhijiang <[email protected]>
Date: 2017-08-14T06:30:47Z
[FLINK-7394][core] Manage exclusive buffers in RemoteInputChannel
commit db5ffb02be8bf427785677310a73ba6649877c9a
Author: Zhijiang <[email protected]>
Date: 2017-09-21T08:28:16Z
[FLINK-7661][network] Add credit field in PartitionRequest message
----
---