Uploaded image for project: 'Flink'
  1. Flink
  2. FLINK-8581 Improve performance for low latency network
  3. FLINK-8755

SpilledSubpartitionView wrongly relys on the backlog for determining whether more data is available

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • None
    • 1.5.0
    • Runtime / Network
    • None

    Description

      public BufferAndBacklog getNextBuffer() throws IOException, InterruptedException {
      //...
              int newBacklog = parent.decreaseBuffersInBacklog(current);
              return new BufferAndBacklog(current, newBacklog > 0, newBacklog, nextBufferIsEvent);
      

      relies on the backlog to signal further data availability. However, if there are only events left in the buffer queue, their buffers are not included in the backlog counting and therefore, isMoreAvailable will be wrongly false here.

      Attachments

        Issue Links

          Activity

            People

              nkruber Nico Kruber
              nkruber Nico Kruber
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: