From: Robert Varga Date: Fri, 16 Sep 2016 20:20:43 +0000 (+0200) Subject: Improve ShardedDOMDataTreeProducer locking X-Git-Tag: release/boron-sr1~26 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=4c7bb26126048b161f545ccc203b8bdb7d1b040f;hp=4c7bb26126048b161f545ccc203b8bdb7d1b040f;p=mdsal.git Improve ShardedDOMDataTreeProducer locking The path from backend was taking coarse lock even when not needed. Explicitly annotate submitTransaction() as needing the lock being held and push down its acquisition so we take it only after we are certain we actually need it. Change-Id: Icd1226796568829ea3735e6eec42677a79b9b3b5 Signed-off-by: Robert Varga (cherry picked from commit 2ce13c8680d68ba1e50eab9609069b6aecfa62a5) ---