Re: [controller-dev] Does commiting a transaction with no operations have any noteworthy (real life) overhead compared to cancelling it?

2018-07-27 Thread Anil Vishnoi
On Fri, Jul 27, 2018 at 4:35 AM Michael Vorburger wrote: > On Fri, Jul 27, 2018 at 11:42 AM Anil Vishnoi > wrote: > >> On Fri, Jul 27, 2018 at 2:30 AM Michael Vorburger >> wrote: >> >>> Hello, Tom, Robert, Stephen, >>> >>> Does commiting a transaction with no put/.../merge/delete operations on

Re: [controller-dev] Does commiting a transaction with no operations have any noteworthy (real life) overhead compared to cancelling it?

2018-07-27 Thread Robert Varga
On 27/07/18 13:34, Michael Vorburger wrote: > What I am wondering if such a short cut optimization has any real value, > and if it does if it shouldn't go into core MD SAL instead > of ManagedNewTransactionRunner. I do not believe it is worth the complexity it incurs. We used to shortcut transacti

Re: [controller-dev] Does commiting a transaction with no operations have any noteworthy (real life) overhead compared to cancelling it?

2018-07-27 Thread Michael Vorburger
On Fri, Jul 27, 2018 at 11:42 AM Anil Vishnoi wrote: > On Fri, Jul 27, 2018 at 2:30 AM Michael Vorburger > wrote: > >> Hello, Tom, Robert, Stephen, >> >> Does commiting a transaction with no put/.../merge/delete operations on >> that Tx have any noteworthy (real life) overhead compared to cancel

Re: [controller-dev] Does commiting a transaction with no operations have any noteworthy (real life) overhead compared to cancelling it?

2018-07-27 Thread Anil Vishnoi
On Fri, Jul 27, 2018 at 2:30 AM Michael Vorburger wrote: > Hello, Tom, Robert, Stephen, > > Does commiting a transaction with no put/.../merge/delete operations on > that Tx have any noteworthy (real life) overhead compared to cancelling it? > > I am asking because that has come up in > ​​ > > ht

[controller-dev] Does commiting a transaction with no operations have any noteworthy (real life) overhead compared to cancelling it?

2018-07-27 Thread Michael Vorburger
Hello, Tom, Robert, Stephen, Does commiting a transaction with no put/.../merge/delete operations on that Tx have any noteworthy (real life) overhead compared to cancelling it? I am asking because that has come up in https://git.opendaylight.org/gerrit/#/c/74506/1/lockmanager/lockmanager-impl/src