[BGPCEP-989] Reformulate PCEPStatefulPeerProposal in terms of DataTreeChangeListener Created: 17/Nov/21  Updated: 23/Nov/21  Resolved: 23/Nov/21

Status: Resolved
Project: bgpcep
Component/s: PCEP
Affects Version/s: None
Fix Version/s: 0.16.12

Type: Improvement Priority: Medium
Reporter: Robert Varga Assignee: Robert Varga
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to BGPCEP-992 Refactor DefaultBgpDeployer Confirmed

 Description   

We are issuing synchronous reads to acquire the LSPDB version when a peer connects. This is costly in terms of connection latency for what amounts to a single Uint64.

Rework the class to be a data tree change listener, maintaining a current view of what LSPDB versions we currently have, so that the connection proceeds without ever blocking.


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