From: Robert Varga Date: Wed, 24 May 2017 12:42:04 +0000 (+0200) Subject: BUG-8538: rework transaction abort paths X-Git-Tag: release/carbon-sr1~58 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?p=controller.git;a=commitdiff_plain;h=8fca604f2312ef365ce05343c2378cf36f2e31af;hp=8fca604f2312ef365ce05343c2378cf36f2e31af BUG-8538: rework transaction abort paths Direct transaction abort path can end up touching proxy history's maps, which it should not, as that happens only after purge. This inconsistency has cropped up when purge was introduced. Refactor the methods so that cohorts are removed only after purge, and fix abort request routing such that it always enqueues a purge request (possibly via successor). This also addresses a FIXME, as we now have an enqueueAbort() request, which is not waiting on the queue. Change-Id: Ie291da70ace772274f33505db376a915b38e37c0 Signed-off-by: Robert Varga ---