Drop a FIXME for partially-overwritten writes 59/13859/3
authorRobert Varga <rovarga@cisco.com>
Thu, 25 Dec 2014 08:13:39 +0000 (09:13 +0100)
committerRobert Varga <rovarga@cisco.com>
Wed, 7 Jan 2015 10:24:09 +0000 (11:24 +0100)
commite67837bb0eefac314963e1256a78e9c439d01e51
tree7147051597f0a8e2c8b3677d58c5ea384d2af755
parent058f1eebd2c0ba53acbd6eda83f50af4b1ddb473
Drop a FIXME for partially-overwritten writes

When a user performs a write, followed by a write which changes some
parts of the first one, we arrive at the resulting data in the prepare()
path. That is not right, as we can perform the merge in the seal() path.

The difference is that in MD-SAL the prepare() path is single-threaded,
while the seal() and read() path are executed in the application thread.
We really want to charge application-sourced mess to application
threads.

Change-Id: Iab2814f616ec8ca0d184513e5c8d3a3b8b1f2174
Signed-off-by: Robert Varga <rovarga@cisco.com>
yang/yang-data-impl/src/main/java/org/opendaylight/yangtools/yang/data/impl/schema/tree/NormalizedNodeContainerModificationStrategy.java