Details
-
Sub-task
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
This is a part of work for credit-based network flow control.
On sender side, each subpartition view maintains an atomic integer currentCredit from receiver. Once receiving the messages of PartitionRequest and AddCredit, the currentCredit is added by deltas.
Each view also maintains an atomic boolean field to mark it as registered available for transfer to make sure it is enqueued in handler only once. If the currentCredit increases from zero and there are available buffers in the subpartition, the corresponding view will be enqueued for transferring data.
Attachments
Issue Links
- links to