From: Robert Varga Date: Tue, 13 May 2014 11:52:10 +0000 (+0200) Subject: BUG-981: Fixed incorrect condition in ResolveDataChangeEventsTask X-Git-Tag: autorelease-tag-v20140601202136_82eb3f9~97 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=cb933b90991598867504635761e1a472fddf818b;hp=cb933b90991598867504635761e1a472fddf818b BUG-981: Fixed incorrect condition in ResolveDataChangeEventsTask When we insert a new subtree, we need to make sure to call serialization on the entire, such that any new elements which appear have their classed attached to paths. This reuses a previous code path, which pruned the walk tree as soon as it encountered a node which did not have any listeners attached (thus improving performance when we're gathering listeners). In this specific case, though, this check is not correct: we need to walk the path because it may be placing new data in the subtree. At the same time add debug statements which made pinpointing this problem possible. Change-Id: I1687ba45817a84ea4a888496a90defc5896216c9 Signed-off-by: Tony Tkacik Signed-off-by: Robert Varga ---