You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@qpid.apache.org by "Fernando Giorgetti (JIRA)" <ji...@apache.org> on 2018/11/19 21:39:00 UTC

[jira] [Updated] (DISPATCH-1188) Credits never dropping to 0 when using multicast addresses in senders connected to edge routers

     [ https://issues.apache.org/jira/browse/DISPATCH-1188?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fernando Giorgetti updated DISPATCH-1188:
-----------------------------------------
    Description: 
{{I have observed a strange behavior when exchanging multicast messages in a topology with multiple interior/edge routers.}}
{{  }}
{{ My topology is designed as:}}
{{  }}
{{ [ Interior 1 ] -> [ Interior 2 ] -> [ Interior 3 ]}}
{{       /\                /\                /\}}
{{  [  Edge 1  ]      [  Edge 2  ]      [  Edge 3  ]}}
{{  }}
{{  }}
{{ My manual test is attempting to perform the following:}}
 * Connect a receiver to any of the routers and starts receiving from a multicast address, like: "multicast.addr1"
 * The receiver will close after receiving 1000 messages

 * Next I am connecting a sender to any router and start sending messages to that same multicast address, i.e.: "multicast.addr1"
 * Sender will continue sending messages until credit drops to 0 (after receiver has disconnected), then it will be closed

 
 What I noticed was:
 * If my receiver is connected to "Interior 1", received 1000 messages and closed its connection, then senders connected to: "Interior 1", "Interior 2", "Interior 3" or "Edge 1" will see credits dropping to zero
 * But if the sender is connected to another edge router, like "Edge 2" or "Edge 3", then credit never drops to zero (minimum I observed was 1)
  
 Using anycast, credits are dropping to 0 across all routers in the network.

  was:
I have observed a strange behavior when exchanging multicast messages in a topology with multiple interior/edge routers.
 
My topology is designed as:
 
[ Interior 1 ] -> [ Interior 2 ] -> [ Interior 3 ]
      /\                /\                /\
 [  Edge 1  ]      [  Edge 2  ]      [  Edge 3  ]
 
 
My manual test is attempting to perform the following:
 * Connect a receiver to any of the routers and starts receiving from a multicast address, like: "multicast.addr1"
 * The receiver will close after receiving 1000 messages


 * Next I am connecting a sender to any router and start sending messages to that same multicast address, i.e.: "multicast.addr1"
 * Sender will continue sending messages until credit drops to 0 (after receiver has disconnected), then it will be closed

 
What I noticed was:
 * If my receiver is connected to "Interior 1", received 1000 messages and closed its connection, then senders connected to: "Interior 1", "Interior 2", "Interior 3" or "Edge 1" will see credits dropping to zero
 * But if the sender is connected to another edge router, like "Edge 2" or "Edge 3", then credit never drops to zero (minimum I observed was 1)
 
Using anycast, credits are dropping to 0 across all routers in the network.


> Credits never dropping to 0 when using multicast addresses in senders connected to edge routers
> -----------------------------------------------------------------------------------------------
>
>                 Key: DISPATCH-1188
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-1188
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Routing Engine
>            Reporter: Fernando Giorgetti
>            Priority: Major
>
> {{I have observed a strange behavior when exchanging multicast messages in a topology with multiple interior/edge routers.}}
> {{  }}
> {{ My topology is designed as:}}
> {{  }}
> {{ [ Interior 1 ] -> [ Interior 2 ] -> [ Interior 3 ]}}
> {{       /\                /\                /\}}
> {{  [  Edge 1  ]      [  Edge 2  ]      [  Edge 3  ]}}
> {{  }}
> {{  }}
> {{ My manual test is attempting to perform the following:}}
>  * Connect a receiver to any of the routers and starts receiving from a multicast address, like: "multicast.addr1"
>  * The receiver will close after receiving 1000 messages
>  * Next I am connecting a sender to any router and start sending messages to that same multicast address, i.e.: "multicast.addr1"
>  * Sender will continue sending messages until credit drops to 0 (after receiver has disconnected), then it will be closed
>  
>  What I noticed was:
>  * If my receiver is connected to "Interior 1", received 1000 messages and closed its connection, then senders connected to: "Interior 1", "Interior 2", "Interior 3" or "Edge 1" will see credits dropping to zero
>  * But if the sender is connected to another edge router, like "Edge 2" or "Edge 3", then credit never drops to zero (minimum I observed was 1)
>   
>  Using anycast, credits are dropping to 0 across all routers in the network.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

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