Fix prefix shard configuration update handling 09/75409/2
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 22 Aug 2018 16:48:30 +0000 (18:48 +0200)
committerRobert Varga <nite@hq.sk>
Thu, 23 Aug 2018 13:07:00 +0000 (13:07 +0000)
commit7b7c62e39815d7f6670b1f43d7c3773ce95886cc
tree0517d50ba483d5752d94487da683beb4e0f1bbcf
parent278a1ee5e661a1817902cc1bde44500822808ee8
Fix prefix shard configuration update handling

If the list of shards is completely deleted, we end up jumping
into an empty method -- obviously missing updates. This codepath
is really shared, as DataTreeCandidateNode resolves recursively,
creating apropriate delta for children.

Change-Id: I6a70421a5ca405830a1012798f302b390b7aa2f0
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit 3dc48592696e6a4535c0e125c1e23dbc62bc9091)
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/sharding/PrefixedShardConfigUpdateHandler.java