2. going forward, we'll keep a note of the first entry that we initialise when doing `SetNode` or `GetOrCreate....`, and if the final call fails or is ignored (because it is a shadowpath), we'll uninitialise the first initialised node to undo our work. This will be for all use cases of this function.
_Originally posted by @robshakir in https://github.com/openconfig/ygot/pull/543#discussion_r651359155_