BUG-5280: fix snapshot accounting 38/55238/1
authorRobert Varga <robert.varga@pantheon.tech>
Wed, 19 Apr 2017 15:13:58 +0000 (17:13 +0200)
committerRobert Varga <robert.varga@pantheon.tech>
Wed, 19 Apr 2017 15:13:58 +0000 (17:13 +0200)
commit1bb0410b5ed343e57878ff02d876dbb8becd5903
tree2a68e6ccd819ff20a4c0105d1755b6f9be549d04
parent1af0eab4206943f36fef2f6045b9fe73eafff594
BUG-5280: fix snapshot accounting

The following warning is emitted under testing:

2017-04-19 08:49:34,707 | WARN  | ... | AbstractClientHistory            | ... | Could not find aborting transaction member-2-datastore-operational-fe-0-txn-19-0

Which is indicating that we cannot find the open transaction
inside AbstractClientHistory.

The problem is mis-routed invocation when we are taking a snapshot:
instead of going directy to subclass doCreateSnapshot() which only
allocates the transaction, invoke takeSnapshot(), which actually does
the appropriate book-keeping.

Change-Id: I07473f381d3147a7fc7d355afede254a781a3094
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/actors/dds/AbstractDataStoreClientBehavior.java