BUG-8618: make sure we refresh backend info 89/58989/2
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 14 Jun 2017 10:38:20 +0000 (12:38 +0200)
committerRobert Varga <nite@hq.sk>
Thu, 15 Jun 2017 06:55:11 +0000 (06:55 +0000)
commite6922e3dc95c97418f7158350448fd6e9a74eb87
tree72e5a349da6154464426a7ce510cdda5a54fe9be
parent5f7ae4a949dc2fc78174e670697a78598678443c
BUG-8618: make sure we refresh backend info

When we are performing a reconnection attempt we must never use
previous backend info, but rather have to refresh it.

Fix this by removing state when resolution fails.

Change-Id: I65592f2101547a606a15d9c8030c7d8c58afe8a5
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit a816f13940862759cefcd6e69330c6a70b512ee2)
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/ModuleShardBackendResolver.java
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/SimpleShardBackendResolver.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.