BUG-5280: make sure we have metadata for standalone history 88/54088/3
authorRobert Varga <robert.varga@pantheon.tech>
Thu, 30 Mar 2017 08:45:50 +0000 (10:45 +0200)
committerTom Pantelis <tompantelis@gmail.com>
Fri, 31 Mar 2017 10:58:54 +0000 (10:58 +0000)
commitd2f03dcaedbf68a62d524fb066a1044007714c76
tree4d06a7ab95a4f9b1dc648b5cb3dd9dc2b8b5f91a
parent008b11b2410b80d0eb438b31565a320cf8bfde86
BUG-5280: make sure we have metadata for standalone history

With metadata propagation in place, we get a ton of warnings
in the form of:

Unknown history for aborted transaction member-2-datastore-config-fe-0-txn-1261-0, ignoring

which is indicative of our failure to populate metadata builder
with the history for standalone transactions. This patch fixes
that and adds recovery for the case when we fail to find the
history in recovered journal.

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