Comments (24)
Hi Albert, with HA it works just fine. We'll keep you updated with regards to the fix for causal clusters.
from neo4j-uuid.
Thanks for the report @albert-the-creator . We will investigate but I'll just inform you that you should expect a bit more time needed for us to fix it, not because of holidays but because we are under heavy workload right now.
So as soon as we can we'll address this issue.
Thanks and happy end 2016/new 2017
from neo4j-uuid.
@ikwattro I see, its that time of the year for your team.
Would we be able to use uuid with HA instead of causal clusters?.. or would you say that the same issue would persists? Its just that the UUIDs play a very integral part of our app so any possible solution is a good solution for us at this point (as i'm sure it'll be for everyone else that would like to scale their neo app).
Happy New Year!!
from neo4j-uuid.
@omarlarus any idea on when a new release with this fix will be sent?
from neo4j-uuid.
@bachmanm was this fix deployed in the latest release? We still get the same issue.
from neo4j-uuid.
dbms.unmanaged_extension_classes=com.graphaware.server=/graphaware
com.graphaware.runtime.enabled=true
com.graphaware.module.UIDM.1=com.graphaware.module.uuid.UuidBootstrapper
given 3 nodes:
node-1: Looking for other members of the cluster
node-2: Starts correctly
node-3. give us that log ^^ and starts
from neo4j-uuid.
Yes, should be fixed in the 3.1.3-compatible .jars.
from neo4j-uuid.
@bachmanm hmm. We're still experiencing that issue..maybe we're using a bad config, but we're currently out of options on what it could be. We can sucessfully run the cluster without the graphaware plugins, with it, we get that issue ^^ https://github.com/graphaware/neo4j-uuid/files/900664/log.txt
from neo4j-uuid.
Thx @albert-the-creator .
cc @omarlarus @albertodelazzari Can you guys check this please ?
from neo4j-uuid.
@albert-the-creator please provide versions of all your plugins and config
from neo4j-uuid.
Using the Neo4J Enterprise 3.1.3 from docker.
We use the default config plus:
dbms.unmanaged_extension_classes=com.graphaware.server=/graphaware
com.graphaware.runtime.enabled=true
com.graphaware.module.UIDM.1=com.graphaware.module.uuid.UuidBootstrapper
We use the following plugins:
plugins/graphaware-server-enterprise-all-3.1.3.45.jar
plugins/graphaware-uuid-3.1.3.45.14.jar
from neo4j-uuid.
Thanks, can you please upgrade framework version to .46 and use .45 for graphaware-uuid
There was a bug in .45 and we removed it, thanks
from neo4j-uuid.
@albert-the-creator when you start the cluster with the plugin, is the database empty?
from neo4j-uuid.
@omarlarus the db is not empty when we start the cluster. we'll try the new plugins and report back @ikwattro
from neo4j-uuid.
When we actually enable the graphaware plugin it fails to start
com.graphaware.runtime.enabled=true
With the new plugins: (Timetree and Noderank aren't in use btw)
We tried the new plugins and it causes the leader to not start.
1.new-log.txt
2.leader-log.txt
When we have an empty db, the cluster doesn't start. @ikwattro @omarlarus
Update After waiting a long while, the leader started, but the neo4j browser doesn't let us sign in, so there may still be something wrong there.. No additional logs. Without the plugin all works as normal
from neo4j-uuid.
Any updates on this? Are we doing something wrong?
from neo4j-uuid.
@albert-the-creator try with this jar: https://wetransfer.com/downloads/a3ba7e984b32c665e32f67701dc98dea20170414073416/56722ec96cd2b789a83df32692c7bd3c20170414073416/5ac3ae
from neo4j-uuid.
@omarlarus the servers don't start, they get stuck at "Attempting to connect to the other cluster members before continuing..."
We're still trying to figure out whats causing it to fail. I was able to successfully run it on my mac after delaying the startup of each cluster member, but it seems to be failing in our production environment.
4/14/2017 10:29:14 PMException in thread “GraphAware Starter” org.neo4j.graphdb.TransactionFailureException: Transaction was marked as successful, but unable to commit transaction so rolled back.
Server_0.txt
Server_1.txt
Server_3.txt
UPDATE: they started after we used a 1 min delay between starting each server
.. sometimes it starts other times it doesnt (same behavior on my mac)
from neo4j-uuid.
You should test it on a brand new cluster, with a new database, empty and without previous graphaware module installed. It seems that a previous configuration it's found in the metadata and something goes wrong.
from neo4j-uuid.
@omarlarus how can we delete that metadata for existing dbs? We've been running our app in production so we can't start over
from neo4j-uuid.
trying it with a fresh db locally, i get:
2017-04-18 17:09:58.458+0000 INFO Discovering cluster with initial members: [localhost:5000, localhost:5001, localhost:5002]
2017-04-18 17:09:58.458+0000 INFO Attempting to connect to the other cluster members before continuing...
2017-04-18 17:10:14.147+0000 ERROR Failed to start Neo4j: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@29cee68' was successfully initialized, but failed to start. Please see attached cause exception. Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@29cee68' was successfully initialized, but failed to start. Please see attached cause exception.
org.neo4j.server.ServerStartupException: Starting Neo4j failed: Component 'org.neo4j.server.database.LifecycleManagingDatabase@29cee68' was successfully initialized, but failed to start. Please see attached cause exception.
at org.neo4j.server.exception.ServerStartupErrors.translateToServerStartupError(ServerStartupErrors.java:68)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:230)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:91)
at org.neo4j.server.ServerBootstrapper.start(ServerBootstrapper.java:68)
at org.neo4j.server.enterprise.EnterpriseEntryPoint.main(EnterpriseEntryPoint.java:32)
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.server.database.LifecycleManagingDatabase@29cee68' was successfully initialized, but failed to start. Please see attached cause exception.
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:443)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.server.AbstractNeoServer.start(AbstractNeoServer.java:202)
... 3 more
Caused by: java.lang.RuntimeException: Error starting org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory, /Users/alfrimpong/Documents/Neo Cores/core-01/data/databases/graph.db
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:199)
at org.neo4j.causalclustering.core.CoreGraphDatabase.(CoreGraphDatabase.java:56)
at org.neo4j.causalclustering.core.CoreGraphDatabase.(CoreGraphDatabase.java:47)
at org.neo4j.server.enterprise.EnterpriseNeoServer.lambda$static$2(EnterpriseNeoServer.java:96)
at org.neo4j.server.database.LifecycleManagingDatabase.start(LifecycleManagingDatabase.java:89)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:433)
... 5 more
Caused by: org.neo4j.kernel.lifecycle.LifecycleException: Component 'org.neo4j.causalclustering.core.state.CoreState@5f0dfedb' was successfully initialized, but failed to start. Please see attached cause exception.
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:443)
at org.neo4j.kernel.lifecycle.LifeSupport.start(LifeSupport.java:107)
at org.neo4j.kernel.impl.factory.GraphDatabaseFacadeFactory.initFacade(GraphDatabaseFacadeFactory.java:195)
... 10 more
Caused by: java.lang.RuntimeException: org.neo4j.kernel.impl.transaction.log.NoSuchTransactionException: Unable to find transaction 1 in any of my logical logs: Couldn't find any log containing 1
at org.neo4j.causalclustering.core.state.machines.tx.LastCommittedIndexFinder.getLastCommittedIndex(LastCommittedIndexFinder.java:67)
at org.neo4j.causalclustering.core.state.machines.tx.RecoverConsensusLogIndex.findLastAppliedIndex(RecoverConsensusLogIndex.java:48)
at org.neo4j.causalclustering.core.state.machines.CoreStateMachines.installCommitProcess(CoreStateMachines.java:132)
at org.neo4j.causalclustering.core.state.CoreState.start(CoreState.java:187)
at org.neo4j.kernel.lifecycle.LifeSupport$LifecycleInstance.start(LifeSupport.java:433)
... 12 more
Caused by: org.neo4j.kernel.impl.transaction.log.NoSuchTransactionException: Unable to find transaction 1 in any of my logical logs: Couldn't find any log containing 1
at org.neo4j.kernel.impl.transaction.log.PhysicalLogicalTransactionStore$LogVersionLocator.getLogPosition(PhysicalLogicalTransactionStore.java:223)
at org.neo4j.kernel.impl.transaction.log.PhysicalLogicalTransactionStore.getTransactions(PhysicalLogicalTransactionStore.java:83)
at org.neo4j.causalclustering.core.state.machines.tx.LastCommittedIndexFinder.getLastCommittedIndex(LastCommittedIndexFinder.java:57)
... 16 more
*UPDATE: *
After I renamed the cluster state folders, it started working
from neo4j-uuid.
@albert-the-creator ,can you detail about renaming state folders, please? We began to work with 3.2.2, and still face the problem: when db is empty for all three cores, the cluster is up, when we try to seed it by db from other single instance, it fails to start and we get the same exception.
from neo4j-uuid.
@fairy3 its actually not recommended to mess with those folders, so i'd recommend not renaming them. Try exporting your seed db with the neo4j backup tool, maybe something went wrong. (if you already do this, then im not sure hah sorry)
but as of late, we haven't had issues with graphaware itself. the issues we've had have been network issues causing the db not to start sometimes
from neo4j-uuid.
It's a pity, @albert-the-creator
I don't think there are network problems - there are no firewall and all cores are reachable by each other... So, probably I should open an issue. Thanks
from neo4j-uuid.
Related Issues (20)
- uuid not creating for relationship HOT 7
- Relationship index HOT 3
- UUID isn't setting for Neo4j Enterprise v3.1 HOT 2
- Question: uniqueness HOT 4
- A lot of warning in debug log HOT 1
- SequenceIdGenerator not able to start in version 3.2.1.51.14 HOT 6
- if i remove this uuid plugin, will uuid still persists? HOT 2
- No GraphAware Runtime is registered with the given database HOT 1
- Conflict with apoc.refactor.mergeNodes HOT 3
- Feature request : ga.uuid.findNode() returning null HOT 4
- uuid indexes HOT 1
- Neo4j become read only after jvm heap error HOT 2
- Errors during boot HOT 6
- Uuid plugins hangs write query after upgrade HOT 5
- Failed to load uuid plugin HOT 8
- Graphaware: ERROR Could not deserialize metadata for module ID NLP
- uuid based on properties HOT 1
- Prepend string to UUIDs on creation? HOT 1
- Exception in thread "GraphAware Starter" when initializing UIDM module for the first time HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from neo4j-uuid.