CESNET / netopeer2

NETCONF toolset
BSD 3-Clause "New" or "Revised" License
299 stars 188 forks source link

Cannot lock running datastore after starting confirmed commit #1375

Closed pfeige closed 1 year ago

pfeige commented 1 year ago

Hi Michal,

after starting a confirmed commit a lock of the running datastore is rejected.

connect --login user
edit-config --target candidate
commit --confirmed
lock --target running
ERROR - There is an ongoing confirmed commit.

From my point of view this should be allowed and accepted. What do you think?

BR, Peter

michalvasko commented 1 year ago

Okay, this specific case should work. Please test the fix, I did not bother to write a test because it seemed not worth it.

pfeige commented 1 year ago

Yep. Thanks!