Added explicit locking of the data change listener / commit handler registration
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)
commit474973da7b411e9a38cc48ae12e17ff497a9cebb
treee240596023382cc9d72f1f09350657e853c1d6bf
parent36e5c5b8a34db4c72a187c247b8fd1b43eac19c3
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