You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Ken Giusti (JIRA)" <ji...@apache.org> on 2016/03/03 16:22:18 UTC

[jira] [Created] (DISPATCH-231) Router should not issue credit for unavailable targets

Ken Giusti created DISPATCH-231:
-----------------------------------

             Summary: Router should not issue credit for unavailable targets
                 Key: DISPATCH-231
                 URL: https://issues.apache.org/jira/browse/DISPATCH-231
             Project: Qpid Dispatch
          Issue Type: Bug
          Components: Router Node
    Affects Versions: 0.5
            Reporter: Ken Giusti
            Assignee: Ted Ross
             Fix For: 0.6


When a client creates a sending link to a target, the router accepts the link on behalf of the target, and issues credit.

This happens even if the target is unknown (eg. no consumers exist).

In this case, the client will send a bunch of messages that simply stall or are released.

As an alternative, the router should only issue credit if the target is available. 
Specifically:

1 - on attach, do not issue credit if the target is not available
2 - if the target goes away, stop issuing additional credit

#2 can result in in-flight messages being left in limbo.  In this case, it is acceptable to drop those messages that have been sent pre-settled, and release those messages sent unsettled.  Ideally, the router would hold on to these messages for a short time (TTL?) and re-send if the target becomes available in that time.






--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@qpid.apache.org
For additional commands, e-mail: dev-help@qpid.apache.org