The calling from `getBufferBuilder` does not need this `checkState`. But for calling from `copyFromSerializerToTargetChannel`, it may be necessary to add this check for avoiding bugs.
I removed it just for reducing some overheads. I will restore this check. :) [ Full content available at: https://github.com/apache/flink/pull/6417 ] This message was relayed via gitbox.apache.org for [email protected]
