From: Robert Varga Date: Wed, 17 May 2017 14:56:57 +0000 (+0200) Subject: BUG-8402: Record modification failures X-Git-Tag: release/nitrogen~201 X-Git-Url: https://git.opendaylight.org/gerrit/gitweb?a=commitdiff_plain;ds=sidebyside;h=d9e3fa9b7d4f1ad484931151c3b3ef237a674ab2;hp=d9e3fa9b7d4f1ad484931151c3b3ef237a674ab2;p=controller.git BUG-8402: Record modification failures When a modification fails to apply, we must record the resulting failure, as we have partially applied the state and hence should never attempt to try to do it again even if the client retransmits the request. Furthermore we should stop responding to any subsequent requests including reads, as our responses are not accurate anyway (and the requests may have been enqueued before the client saw the failure). Enqueue the failure and respond to all subsequent requests with it, forcing the transaction to fail the canCommit() phase. Change-Id: I1d25f1b3a688e02f8a69f54f22a5d6d2dd43339c Signed-off-by: Robert Varga (cherry picked from commit 63e6ab3f36e57954baf391855541cf3d42d38a0f) ---