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

ASF subversion and git services commented on DISPATCH-873:
----------------------------------------------------------

Commit 6ccbebb23635a6a61e56d5c2698aec2b39ab3055 in qpid-dispatch's branch 
refs/heads/1.0.x from [[email protected]]
[ https://git-wip-us.apache.org/repos/asf?p=qpid-dispatch.git;h=6ccbebb ]

DISPATCH-873 - Remove next-hop when new route to a node is via a neighbor link.
Hat tip to Mick Goulish for identifying the root cause of this bug.


> new routes calculated wrongly after connector deletion
> ------------------------------------------------------
>
>                 Key: DISPATCH-873
>                 URL: https://issues.apache.org/jira/browse/DISPATCH-873
>             Project: Qpid Dispatch
>          Issue Type: Bug
>          Components: Routing Engine
>    Affects Versions: 1.0.0
>            Reporter: michael goulish
>            Assignee: Ted Ross
>            Priority: Blocker
>             Fix For: 1.0.0
>
>
> I have a 3-mesh network with nodes A, B, C.
> B-->A cost is 10
> C-->A cost is 10
> B-->C cost is 100.
> Initial route from B to C is calculated correctly as B,A,C : cost == 20.
> But after I used qdmanage to delete the connector from B to A, I get no 
> further messages delivered from B to C.
> Using qdstat to look at routing table, it looks wrong:
> Both B and C think they can only get to each other by going through A.  But 
> there is now no route that way, because B-->A has been deleted.  They should 
> be using the direct connection B-->C.     Yet they both calculate the cost 
> correctly as 100.
> ===========================================================
> A                          
> ===========================================================
> Routers in the Network
> router-id  next-hop  link  ver  cost  neighbors   valid-origins
> A          (self)    -     1          ['C']       []
> B          C         -     1    110   ['A', 'C']  []
> C          -         1     1    10    ['A', 'B']  ['B']
> ===========================================================
> B                          
> ===========================================================
> Routers in the Network
> router-id  next-hop  link  ver  cost  neighbors  valid-origins
> B          (self)    -     1          ['C']      []
> C          A         -     1    100   []         []
> ===========================================================
> C                          
> ===========================================================
> Routers in the Network
> router-id  next-hop  link  ver  cost  neighbors   valid-origins
> A          -         0     1    10    ['C']       []
> B          A         -     1    100   ['A', 'C']  ['A']
> C          (self)    -     1          ['A', 'B']  []



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to