Re: [Neo4j] TransactionEventHandler bug?

2015-07-21 Thread Mattias Persson
https://github.com/neo4j/neo4j/pull/5010 should fix the afterCommit issue you're seeing. That PR fixes so that there's no transaction associated with the current thread when afterCommit is called, and so a new transaction can be opened there. On Friday, July 17, 2015 at 1:02:00 PM UTC+2,

Re: [Neo4j] TransactionEventHandler bug?

2015-07-17 Thread Mattias Persson
In the meantime I believe this PR will reduce confusion regarding transaction events: https://github.com/neo4j/neo4j/pull/4991 On Thursday, July 16, 2015 at 11:28:49 PM UTC+2, Mattias Persson wrote: Oh I can reproduce that now. Yup, that's a problem, right there On Thursday, July 16, 2015 at

Re: [Neo4j] TransactionEventHandler bug?

2015-07-16 Thread Mattias Persson
Oh I can reproduce that now. Yup, that's a problem, right there On Thursday, July 16, 2015 at 4:45:58 PM UTC+2, Clark Richey wrote: So when I run my tests without the executor I get an error that the transaction has already completed when I try to examine properties of created / updated

Re: [Neo4j] TransactionEventHandler bug?

2015-07-10 Thread Clark Richey
Doesn't seem to be but I'm having trouble reproducing in a small standalone program. Working with support to diagnose. Sent from my iPhone On Jul 10, 2015, at 06:42, ducky rohit.aggar...@gmail.com wrote: Could this be related to this bug: https://github.com/neo4j/neo4j/issues/4910 On

Re: [Neo4j] TransactionEventHandler bug?

2015-07-10 Thread ducky
Could this be related to this bug: https://github.com/neo4j/neo4j/issues/4910 On Tuesday, 7 July 2015 16:59:32 UTC+1, Clark Richey wrote: I have confirmed the same behavior on 2.2.3 as well. Clark Richey clark@gmail.com javascript: On Jul 6, 2015, at 5:20 PM, Clark Richey

Re: [Neo4j] TransactionEventHandler bug?

2015-07-07 Thread Clark Richey
I have confirmed the same behavior on 2.2.3 as well. Clark Richey clark.ric...@gmail.com On Jul 6, 2015, at 5:20 PM, Clark Richey clark.ric...@gmail.com wrote: Sorry. I’m running 2.2.2 enterprise. I do have a test which I have attached. In creating this test I can see that events

[Neo4j] TransactionEventHandler bug?

2015-07-06 Thread Clark Richey
Hello, I’m implementing a TransactionEventHandler in much the same way that is presented here: http://maxdemarzi.com/2015/03/25/triggers-in-neo4j/ http://maxdemarzi.com/2015/03/25/triggers-in-neo4j/. When I have transactions that create relationships, I can correctly view those relationships

Re: [Neo4j] TransactionEventHandler bug?

2015-07-06 Thread Michael Hunger
Hey Clark, do you have a small test that reproduces the issue? And which version are you testing it with? thanks a lot Michael Am 06.07.2015 um 18:37 schrieb Clark Richey cl...@factgem.com: Hello, I’m implementing a TransactionEventHandler in much the same way that is presented here:

Re: [Neo4j] TransactionEventHandler bug?

2015-07-06 Thread Clark Richey
Sorry. I’m running 2.2.2 enterprise.I do have a test which I have attached. In creating this test I can see that events actually don’t seem to be firing consistently at all. If I delete the DB on disk between runs I can get it to fire but if I run it a second time without deleting the DB on disk