Inefficient locking in the TopologyUpdater class

Description

Found ALEC blocked on the following stack when using the direct datasource:

getTopology is defined as:

The runDiscovery method is also synchronized:

Meaning that calls to retrieve the current topology are completely blocked until discovery completes.

Acceptance / Success Criteria

None

Lucidchart Diagrams

Activity

Show:

Markus von Rüden January 15, 2020 at 10:19 AM

Fixed

Details

Assignee

Reporter

Sprint

Affects versions

Priority

PagerDuty

Created December 10, 2019 at 9:44 PM
Updated February 3, 2020 at 9:12 AM
Resolved February 3, 2020 at 9:12 AM