Fix prefix shard configuration update handling 10/75410/2
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 22 Aug 2018 16:48:30 +0000 (18:48 +0200)
committerRobert Varga <nite@hq.sk>
Fri, 31 Aug 2018 07:58:59 +0000 (07:58 +0000)
commit4d0e158970c7208d97ca5dbeeca7590e7ffa5482
tree26c2e6c13b49b9cae9b1b6eb70181cbb3e71687a
parent32b5b9dff556cb297d4cae1a4244238fd211634f
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