From: Mattias Persson <matt...@neotechnology.com>
Date: Wed, 9 May 2012 22:13:13 +0200
Local: Wed, May 9 2012 4:13 pm
Subject: Re: [Neo4j] Using TransactionEventHandler in HA Environment
2012/5/9 Paul Jackson <paul_jack...@g1.com>
> OK, now I am confused.
Yup, you're absolutely correct. During recovery, transactions marked with
> My understanding is that for a graph that was improperly shut down, the
> 1) If the process dies between the time that beforeCommit is called and
> I think you must be referring to a solution to the second risk - an ideal
COMMIT record but not DONE record aren't guaranteed to have reached the handlers with afterCommit and those could be sent to the handlers on recovery, but that isn't happening currently, and would also require handlers to be registered before recovery of course. Registration of handlers shouldn't sit on GraphDatabaseService, but instead on GraphDatabaseFactory<http://api.neo4j.org/current/org/neo4j/graphdb/factory/GraphDatabaseF...>imho. This and/or notification about recovery performed and completed could make the transaction event handling more solid. > Thanks,
> On Wednesday, May 9, 2012 9:12:30 AM UTC-4, Mattias Persson wrote:
>> True, which of course is possible to add. I'd say the same problem exists
Mattias Persson, [matt...@neotechnology.com] Hacker, Neo Technology www.neotechnology.com You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||