Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Logical Log Error (HA CLuster)
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Langland  
View profile  
 More options May 2 2012, 8:44 pm
From: Langland <ericlangl...@msn.com>
Date: Wed, 2 May 2012 17:44:54 -0700 (PDT)
Local: Wed, May 2 2012 8:44 pm
Subject: Logical Log Error (HA CLuster)
This is the error I get when I try to fire up the Neo4J server. I get
it after I try to move a new database onto the server from naother
developer.

I realize that the data/coordinator/version-2 files need to be cleared
between restarts. Anre there any other things I need to do?

2012-05-03 00:42:13.262+0000: Error in ZooClient.process txId:10 not
found in any logical log (starting at 0 and searching backwards
java.lang.RuntimeException: txId:10 not found in any logical log
(starting at 0 and searching backwards
        at
org.neo4j.kernel.impl.transaction.xaframework.LogExtractor.findLogContainin gTxId(LogExtractor.java:
310)
        at
org.neo4j.kernel.impl.transaction.xaframework.LogExtractor.<init>(LogExtrac tor.java:
143)
        at
org.neo4j.kernel.impl.transaction.xaframework.LogExtractor.from(LogExtracto r.java:
591)
        at
org.neo4j.kernel.ha.zookeeper.ZooClient.getFirstMasterForTx(ZooClient.java:
648)
        at
org.neo4j.kernel.ha.zookeeper.ZooClient.makeSureRootPathIsFound(ZooClient.j ava:
394)
        at org.neo4j.kernel.ha.zookeeper.ZooClient.getRoot(ZooClient.java:
320)
        at
org.neo4j.kernel.ha.zookeeper.AbstractZooKeeperManager.getAllMachines(Abstr actZooKeeperManager.java:
271)
        at
org.neo4j.kernel.ha.zookeeper.AbstractZooKeeperManager.getMasterFromZooKeep er(AbstractZooKeeperManager.java:
173)
        at
org.neo4j.kernel.ha.zookeeper.AbstractZooKeeperManager.getMasterFromZooKeep er(AbstractZooKeeperManager.java:
163)
        at org.neo4j.kernel.ha.zookeeper.ZooClient
$WatcherImpl.process(ZooClient.java:764)
        at org.apache.zookeeper.ClientCnxn
$EventThread.processEvent(ClientCnxn.java:530)
        at org.apache.zookeeper.ClientCnxn$EventThread.run(ClientCnxn.java:
506)


 
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.
Peter Neubauer  
View profile  
 More options May 3 2012, 1:51 am
From: Peter Neubauer <neubauer.pe...@gmail.com>
Date: Thu, 3 May 2012 07:51:58 +0200
Local: Thurs, May 3 2012 1:51 am
Subject: Re: [Neo4j] Logical Log Error (HA CLuster)

Have you got the logical logs around, and did the db shut down cleanly?
Also, did anything happen ob the cluster while you moved the store? Could
you share your store in some way with us?
On May 3, 2012 2:45 AM, "Langland" <ericlangl...@msn.com> wrote:


 
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.
Mattias Persson  
View profile  
 More options May 3 2012, 3:13 am
From: Mattias Persson <matt...@neotechnology.com>
Date: Thu, 3 May 2012 09:13:33 +0200
Local: Thurs, May 3 2012 3:13 am
Subject: Re: [Neo4j] Logical Log Error (HA CLuster)

Your messages.log file is probably enough and contains non-sensitive
information to help a guy like me debug what happened. So if you could
supply it it would be great.

Nonetheless here is what I think has happened: The database you copied from
another place was created with a batch inserter or with "keep_logical_logs"
not enabled, meaning that there are some information about the last
transaction(s) missing that an HA cluster would like to use. This is a
known issue and will be fixed pretty soon. A workaround would be:

* Remove all slave databases
* Start up your master database with e.g. new EmbeddedGraphDatabase(
"my/db/folder", MapUtil.stringMap( "keep_logical_logs", "true" ) );
* Do a little transaction, for example just create a node
* Shut down cleanly
* Start up master database in HA mode and then the slaves

Which version are you running btw?

2012/5/3 Langland <ericlangl...@msn.com>

--
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.
Langland  
View profile  
 More options May 3 2012, 7:04 pm
From: Langland <ericlangl...@msn.com>
Date: Thu, 3 May 2012 16:04:25 -0700 (PDT)
Local: Thurs, May 3 2012 7:04 pm
Subject: Re: Logical Log Error (HA CLuster)
We're using enterprise. When you say remove the slave databases, do
you mean shut down the coordinators or physically remove their neo4j
files?

Thanks for your help here.

On May 3, 12:13 am, Mattias Persson <matt...@neotechnology.com> wrote:


 
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.
Mattias Persson  
View profile  
 More options May 5 2012, 5:54 am
From: Mattias Persson <matt...@neotechnology.com>
Date: Sat, 5 May 2012 11:54:12 +0200
Local: Sat, May 5 2012 5:54 am
Subject: Re: [Neo4j] Re: Logical Log Error (HA CLuster)

You don't need to shut down the coordinators, just remove/move the
data/graph.db directory and it will be copied automatically from the master
when they start again.

2012/5/4 Langland <ericlangl...@msn.com>

--
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.
End of messages
« Back to Discussions « Newer topic     Older topic »