BUG-8639: always invalidate primary info cache 95/62995/1
authorRobert Varga <robert.varga@pantheon.tech>
Mon, 11 Sep 2017 14:03:58 +0000 (16:03 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 11 Sep 2017 17:40:29 +0000 (17:40 +0000)
commit8eee3764486ca996d7e33da7aa76f3d2f38129a2
treee70de6e8994c20de994f009b0cde92a7173f5067
parentd266f4384d4850af9049d7cddd2bbac8f75ba61e
BUG-8639: always invalidate primary info cache

When we remove local shard, make sure we invalidate the associated
cache entry.

Change-Id: I83d6320e7308fe9bdf9c66c928fa91198674eae1
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 39b7a263d64559bc4f593726f56aa38ab9cc0b1c)
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/datastore/shardmanager/ShardManager.java