[BGPCEP-122] PCEP topology manager breaks with multiple nodes Created: 25/Aug/14 Updated: 03/Mar/19 Resolved: 02/Sep/14 |
|
| Status: | Resolved |
| Project: | bgpcep |
| Component/s: | General |
| Affects Version/s: | Bugzilla Migration |
| Fix Version/s: | Bugzilla Migration |
| Type: | Bug | ||
| Reporter: | Robert Varga | Assignee: | Robert Varga |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
Operating System: All |
||
| External issue ID: | 1614 |
| Description |
|
The transaction chaining logic is not thread-safe and requires proper ordering of operations. This means that we cannot have a global handle, but rather maintain a per-node handle. Move the TransactionChain object into NodeState. NodeState already serves as the meeting point for ensuring only one session ever updates a particular node, which guarantees thread safety. |
| Comments |
| Comment by Robert Varga [ 25/Aug/14 ] |
| Comment by Robert Varga [ 27/Aug/14 ] |