Skip to content

Commit

Permalink
[orientdb] fixed issue #1045, updated to orientdb version 2.2.37, add…
Browse files Browse the repository at this point in the history
…ed an example for remote connection
  • Loading branch information
FloBWer authored and busbey committed Nov 20, 2018
1 parent d4538ca commit 5bef82d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
1 change: 1 addition & 0 deletions orientdb/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ WARNING: Creating a new database will be done safely with multiple threads on a
* ```orientdb.url``` - (required) The address to your database.
* Supported storage types: memory, plocal, remote
* EX. ```plocal:/path/to/database```
* remote EX. ```remote:172.16.50.15:2424/database```
* ```orientdb.user``` - The user to connect to the database with.
* Default: ```admin```
* ```orientdb.password``` - The password to connect to the database with.
Expand Down
5 changes: 2 additions & 3 deletions orientdb/src/main/java/com/yahoo/ycsb/db/OrientDBClient.java
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,9 @@ public void cleanup() throws DBException {
clientCounter--;
if (clientCounter == 0) {
databasePool.close();
databasePool = null;
initialized = false;
}

databasePool = null;
initialized = false;
} finally {
INIT_LOCK.unlock();
}
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ LICENSE file.
<mongodb.version>3.8.0</mongodb.version>
<mongodb.async.version>2.0.1</mongodb.async.version>
<openjpa.jdbc.version>2.1.1</openjpa.jdbc.version>
<orientdb.version>2.2.10</orientdb.version>
<orientdb.version>2.2.37</orientdb.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<redis.version>2.9.0</redis.version>
<riak.version>2.0.5</riak.version>
Expand Down

0 comments on commit 5bef82d

Please sign in to comment.