[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: |
|
||||||||
| 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. |