Added explicit locking of the data change listener / commit handler registration 83/4983/2
authorTony Tkacik <ttkacik@cisco.com>
Tue, 28 Jan 2014 15:21:58 +0000 (16:21 +0100)
committerGerrit Code Review <gerrit@opendaylight.org>
Wed, 29 Jan 2014 11:54:39 +0000 (11:54 +0000)
commitab26d9cc92e2ab41016e473c469dfdef885ecf6c
tree4462280b7bd63ada0ca5ff989c8b978188a77467
parentf207c0c13689d0744c2ed2eb0395076fee82ffe6
Added explicit locking of the data change listener / commit handler registration

  - This locking fixes ConcurrentModificationException in cases
    when transaction processing is computing affected commit handlers
    and data change listeners.

Change-Id: Icdd9a2ea36102f681a5d82390c3b9d942560b878
Signed-off-by: Tony Tkacik <ttkacik@cisco.com>
opendaylight/md-sal/sal-common-impl/src/main/java/org/opendaylight/controller/md/sal/common/impl/service/AbstractDataBroker.xtend