[CONTROLLER-1271] Unable to read old children that were not overwritten in a merge in ReadWrite transaction Created: 22/Apr/15  Updated: 25/Jul/23  Resolved: 07/May/15

Status: Resolved
Project: controller
Component/s: mdsal
Affects Version/s: None
Fix Version/s: None

Type: Bug
Reporter: Tomas Cere Assignee: Jan Hajnar
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 YANGTOOLS-409 Yang-Data-Impl: write and then merge ... Resolved
External issue ID: 3042
Priority: Normal

 Description   

We are executing multiple operations on a DOMDataReadWriteTransaction in a sequence.
Datastore is empty.
Present data in transaction: http://pastebin.com/arEsmY3v

call merge on container top with payload: http://pastebin.com/qQDLmDL8
this makes it unable to read /top/users/user/user:single user/company-info
as only the merged data seems to be present in the transaction.
calling commit, opening a new transaction and then merging seems to work correctly



 Comments   
Comment by Jan Hajnar [ 29/Apr/15 ]

I believe this bug is duplicate of 2690 and this patch solves it (tested with your data):
https://git.opendaylight.org/gerrit/#/c/19145/

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