[controller-dev] What is the condition under which IllegalStateException - "store tree and candidate base differ" is thrown

2016-08-04 Thread Muthukumaran K
Hi, I want to understand under which condition, this exception seen in InMemoryDataTree.java#commit is thrown ? Does this exception mean that a child is being added by one Txn for a parent which could have been deleted another Txn ? I checked related bug in OVSDB - https://bugs.opendaylight.o

Re: [controller-dev] What is the condition under which IllegalStateException - "store tree and candidate base differ" is thrown

2016-08-04 Thread Tom Pantelis
It means preCommit/commit occurred out-of-order, eg preCommit txn 1 preCommit txn 2 commit txn 2 commit txn 1 It's an internal problem in the CDS. We put a hack in Be to workaround it. This patch in master https://git.opendaylight.org/gerrit/#/c/42728/ explains the scenario and implements a prope

Re: [controller-dev] What is the condition under which IllegalStateException - "store tree and candidate base differ" is thrown

2016-08-05 Thread Muthukumaran K
] Sent: Thursday, August 04, 2016 11:30 PM To: Muthukumaran K Cc: controller-dev@lists.opendaylight.org Subject: Re: [controller-dev] What is the condition under which IllegalStateException - "store tree and candidate base differ" is thrown It means preCommit/commit occurred out-of