akalash commented on a change in pull request #17573:
URL: https://github.com/apache/flink/pull/17573#discussion_r737626916
##########
File path:
flink-runtime/src/main/java/org/apache/flink/runtime/io/network/partition/consumer/LocalInputChannel.java
##########
@@ -346,7 +346,8 @@ void announceBufferSize(int newBufferSize) {
@Override
int getBuffersInUseCount() {
- return subpartitionView.getNumberOfQueuedBuffers();
+ ResultSubpartitionView view = subpartitionView;
+ return view == null ? 0 : view.getNumberOfQueuedBuffers();
Review comment:
It is exactly what I wanted to ask - does it make sense or not to create
a separate ticket for this.
But the point about the backport is the answer to it. so I will create the
new ticket and move these changes into it.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]