Skip to content

Commit

Permalink
Neo4j 3.5.11 and warning in readme for store_lock
Browse files Browse the repository at this point in the history
  • Loading branch information
jexp committed Sep 23, 2019
1 parent 5dd4800 commit e7a6395
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>org.neo4j</groupId>
<artifactId>store-util</artifactId>
<version>3.5.6</version>
<version>3.5.11</version>
<packaging>jar</packaging>

<name>store-util</name>
Expand Down
13 changes: 12 additions & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ NOTE: With Neo4j 3.x there are two different store formats, so you have to provi

You can now also decide if you want to compact the node-store, then you have to pass "false" as the parameter for keep-node-ids.


### Usage

Grab the release for your Neo4j version from: https://github.com/jexp/store-utils/releases
Expand All @@ -34,6 +33,18 @@ rm -rf /path/to/fixed.db
./copy-store.sh community /path/to/source.db /path/to/fixed.db
```

#### NOTICE

**With Neo4j 3.5.x the location of the `store_lock` file changed to one level above the database directory, so please make sure that your source and target db don't share the same parent directory**

Then you would see an error like this:

```
Exception in thread "main" org.neo4j.kernel.StoreLockException: Unable to obtain lock on store lock file:
/path/to/parent-folder/store_lock.
Please ensure no other process is using this database, and that the directory is writable (required even for read-only access)
```

### Config

Config will read from `neo4j.properties` file in current directory if it exists, but command line options override.
Expand Down

0 comments on commit e7a6395

Please sign in to comment.