[NETCONF-141] Unlock transaction right after it's committed Created: 04/Feb/16  Updated: 15/Mar/19  Resolved: 04/Feb/16

Status: Resolved
Project: netconf
Component/s: netconf
Affects Version/s: None
Fix Version/s: None

Type: Improvement
Reporter: Alexis de Talhouët Assignee: Alexis de Talhouët
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Issue Links:
Duplicate
duplicates NETCONF-142 Netconf southbound transaction unlock... Resolved

 Description   

We've seen a problem with 2nd transaction being opened in the callback hooked to submit future of 1st transaction. That's because we invoke unlock also from a callback to submit and these callbacks can be executed in wrong order: App callback first and unlock callback after that. Which is a problem and we should be changing the execution of unlock ...

we should execute unlock right after commit is triggered, not wait until its response was returned. And to improve on that, we should return a combined future to the user of transaction, which result will be combination of commit and unlock results.


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