From: Robert Varga Date: Thu, 28 Apr 2022 16:08:23 +0000 (+0200) Subject: Fix lead transaction cancellation X-Git-Tag: v10.0.0~62 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;h=e781d0af7effb145dc69163744d1a7f02c200d8e;hp=e781d0af7effb145dc69163744d1a7f02c200d8e;p=mdsal.git Fix lead transaction cancellation We have a thinko around recording frontend transaction, which leads to us always cancelling the entire chain. This is not correct, as evidenced by existing tests. Correct the book keeping and refactor cancelTransaction() to allow returning correct result of operation and handle the case where backend refuses to cancel. JIRA: MDSAL-756 Change-Id: I553e4de2d09acedf67af63bc292fae0bb5dfed78 Signed-off-by: Robert Varga ---