GitHub user MayerRoman opened a pull request:
https://github.com/apache/flink/pull/2865
[FLINK-5002] Renamed getNumberOfUsedBuffers() method to
bestEffortGetNumOfUsedBuffers(), add a test to check that it does not return a
negative value
[FLINK-5002] Lack of synchronization in
LocalBufferPool#getNumberOfUsedBuffers
According to Stefan proposal, I renamed the method and added test to make
sure that the method does not return a negative value.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/MayerRoman/flink FLINK_5002
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/flink/pull/2865.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 #2865
----
commit 5b7a17f54d37ac028335343742ba7021e047ca64
Author: Roman Maier <[email protected]>
Date: 2016-11-18T13:51:58Z
[FLINK-5002] Renamed getNumberOfUsedBuffers() method to
bestEffortGetNumOfUsedBuffers(), add a test to check that it does not return a
negative value.
----
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---