Split modifications on datastore root 73/90773/1
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 25 Jun 2020 14:31:24 +0000 (16:31 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Fri, 26 Jun 2020 19:16:47 +0000 (21:16 +0200)
commitc2f120f4ddbbe2d860e6cef58db1bd62e7c126dd
treee6309cc06ad6492ff7c6cb85fdc30f9a5ba0827e
parenta951fa21b352d973191ef6713cfc8ba2c2d73a47
Split modifications on datastore root

When we are dealing with modifications, we must not assume they are
not spanning shards. Specifically, we need to make sure we split
data when the user is targeting datastore root, as for those cases
we need to split top-level containers to their appropriate shards,
not the default shard.

JIRA: CONTROLLER-1950
Change-Id: Ie8ad233fed993fddd54a1e4865884fd4474fc81f
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
(cherry picked from commit f697416012940c229747715d10d632037e718611)
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/datastore/TransactionProxy.java