[ 
https://issues.apache.org/jira/browse/FLINK-7468?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16290619#comment-16290619
 ] 

ASF GitHub Bot commented on FLINK-7468:
---------------------------------------

Github user zhijiangW commented on the issue:

    https://github.com/apache/flink/pull/4559
  
    @NicoK, I have submitted two `[hotfix]` commits for the above issues.
    
    One is for `Nullable` annotation and tests of backlog statistics. And the 
other is for updating backlog in thread-safe.  
    
    For updating backlog, I think it should be done in `PipelinedSubpartition` 
and `SpillableSubpartition` separately in order to under synchronized region, 
although it seems somewhat redundant.  But I notice that the `isReleased()` 
method in `ResultSubpartition` is also implemented in this way.



> Implement sender backlog logic for credit-based
> -----------------------------------------------
>
>                 Key: FLINK-7468
>                 URL: https://issues.apache.org/jira/browse/FLINK-7468
>             Project: Flink
>          Issue Type: Sub-task
>          Components: Network
>            Reporter: zhijiang
>            Assignee: zhijiang
>             Fix For: 1.5.0
>
>
> This is a part of work for credit-based network flow control.
> Receivers should know how many buffers are available on the sender side (the 
> backlog). The receivers use this information to decide how to distribute 
> floating buffers.
> The {{ResultSubpartition}} maintains the backlog which only indicates the 
> number of buffers in this subpartition, not including the number of events. 
> The backlog is increased for adding buffer to this subpartition, and 
> decreased for polling buffer from it.
> The backlog is attached in {{BufferResponse}} by sender as an absolute value 
> after the buffer being transferred.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to