Linkd does not update properly datalinkinterface table

Description

There are several duplicated row in datalinkinterface table where
they only difference is status (A and N) and LastPolltime.

The behaviuor is that only one row is must be into the database.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Seth Leger November 21, 2013 at 11:37 PM

It looks like that commit was supposed to fix the problem, marking as fixed.

Antonio Russo September 16, 2013 at 8:53 AM

commit 92d18e2c3755770f52c7edd1df141ab9c1c7ca40
Author: Antonio <rssntn67@yahoo.it>
Date: Mon Sep 16 14:50:27 2013 +0200

: changed the DataLinkInterfaceDao

The findByNodeidAndIfIndex will return now a list of links
This is needed because it can happen that different links are
found on the same nodeid/ifindex.
All the test passes successfully

MacBook-Pro-di-Antonio-Russo-2:opennms-TS antonio$ git push
Counting objects: 91, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (36/36), done.
Writing objects: 100% (57/57), 8.99 KiB, done.
Total 57 (delta 14), reused 0 (delta 0)
To git@github.com:OpenNMS/opennms.git
77babf8..92d18e2 features/TS -> features/TS

Antonio Russo September 12, 2013 at 9:16 AM

[master fc749b6] Fix for and
8 files changed, 100 insertions, 30 deletions
MacBook-Pro-di-Antonio-Russo:opennms-services antonio$ git push
Counting objects: 46, done.
Delta compression using up to 4 threads.
Compressing objects: 100% (21/21), done.
Writing objects: 100% (25/25), 4.20 KiB, done.
Total 25 (delta 13), reused 0 (delta 0)
To git@github.com:OpenNMS/opennms.git
ffe0f7c..fc749b6 master -> master

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

PagerDuty

Created September 12, 2013 at 3:45 AM
Updated January 27, 2017 at 4:21 PM
Resolved November 21, 2013 at 11:37 PM