[BGPCEP-524] Duplicate cleanup and connected-peer-counter decrement during BGP session cleanup Created: 18/Aug/16  Updated: 03/Mar/19  Resolved: 01/Sep/16

Status: Resolved
Project: bgpcep
Component/s: BGP
Affects Version/s: Bugzilla Migration
Fix Version/s: Bugzilla Migration

Type: Bug
Reporter: Ajay L Assignee: Ajay L
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 6468

 Description   

While trying to repro issue in https://bugs.opendaylight.org/show_bug.cgi?id=6373 (update message with missing BGP mandatory attribute received), noticed that BGP session is getting closed twice and also connected-peer-counter may get decremented twice resulting in negative counter value

2016-08-09 01:15:25,447 | INFO | entLoopGroup-5-7 | BGPSessionImpl | 185 - org.opendaylight.bgpcep.bgp-rib-impl - 0.6.0.SNAPSHOT | Closing session: BGPSessionImpl

{channel=[id: 0x58e9ec32, L:/10.29.12.199:1790 - R:/10.29.12.108:17900], state=UP}

2016-08-09 01:15:25,447 | INFO | entLoopGroup-5-7 | BGPPeer | 185 - org.opendaylight.bgpcep.bgp-rib-impl - 0.6.0.SNAPSHOT | Session with peer 10.29.12.108 terminated: BGPTerminationReason

{error=WELL_KNOWN_ATTR_MISSING}

2016-08-09 01:15:25,452 | INFO | entLoopGroup-5-7 | BGPSessionImpl | 185 - org.opendaylight.bgpcep.bgp-rib-impl - 0.6.0.SNAPSHOT | Closing session: BGPSessionImpl

{channel=[id: 0x58e9ec32, L:/10.29.12.199:1790 ! R:/10.29.12.108:17900], state=IDLE}

 Comments   
Comment by Milos Fabian [ 01/Sep/16 ]

master: https://git.opendaylight.org/gerrit/#/c/44811/
stable/boron: https://git.opendaylight.org/gerrit/#/c/45036/

Generated at Wed Feb 07 19:13:20 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.