|
Retry logic present at the following location is not correct.
https://github.com/opendaylight/neutron/blob/master/transcriber/src/main/java/org/opendaylight/neutron/transcriber/AbstractNeutronInterface.java#L172
Whenever a transaction fails, it will mark the transaction chain as failed, so any retry using the same transaction chain will fail, because cluster data broker check transaction chain state before submitting any new transaction.
https://github.com/opendaylight/controller/blob/master/opendaylight/md-sal/sal-distributed-datastore/src/main/java/org/opendaylight/controller/cluster/databroker/DOMBrokerTransactionChain.java#L84
So with the current logic, if the first attempt fails, consecutive attempt will also fail.
|