This transaction is only used for an exist check of
default prefix shard configuration and needs to be closed
once we are done with it.
Change-Id: I8d7c06e7e3ce58cb91713dac14744c411ec1bf5f
Signed-off-by: Tomas Cere <tcere@cisco.com>
} catch (final ReadFailedException e) {
LOG.error("Presence check of default shard in configuration failed.", e);
return false;
} catch (final ReadFailedException e) {
LOG.error("Presence check of default shard in configuration failed.", e);
return false;
+ } finally {
+ snapshot.abort();