Github user StephanEwen commented on a diff in the pull request:

    https://github.com/apache/flink/pull/2754#discussion_r87016959
  
    --- Diff: 
flink-streaming-java/src/main/java/org/apache/flink/streaming/runtime/io/BufferSpiller.java
 ---
    @@ -418,5 +422,16 @@ public void cleanup() throws IOException {
                                throw new IOException("Cannot remove temp file 
for stream alignment writer");
                        }
                }
    +
    +           /**
    +            * Gets the size of this spilled sequence.
    +            */
    +           public long size() throws IOException {
    +                   if (fileChannel.isOpen()) {
    --- End diff --
    
    Just saw this while backporting - this should refer to the `size` field.


---
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.
---

Reply via email to