BUG-5280: synchronize access to local histories 27/49427/5
authorRobert Varga <rovarga@cisco.com>
Thu, 15 Dec 2016 13:24:47 +0000 (14:24 +0100)
committerTom Pantelis <tpanteli@brocade.com>
Sat, 17 Dec 2016 00:21:37 +0000 (00:21 +0000)
commitc3607fd866e5cfde0d4806820981fe95ad29392c
treea5188c985b49c3d0261c50dc6058bae156811225
parent44bbe7e2af257469fab2235b5116c81064746f8b
BUG-5280: synchronize access to local histories

There is a subtle race between the allocation of histories
and the reconnect process, which could allow a local history
to be created when its connection is being reestablished but
after the cohorts for the connection have already been captured.

Change-Id: I230b5c00844d8e82775efc8f70368c2f63eabb1e
Signed-off-by: Robert Varga <rovarga@cisco.com>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/AbstractDataStoreClientBehavior.java

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.