Skip to content

Commit ef8f612

Browse files
committed
fix: multi graph error in rocksdb with same path/fd
1 parent 277f76e commit ef8f612

File tree

1 file changed

+2
-2
lines changed
  • hugegraph-server/hugegraph-rocksdb/src/main/java/org/apache/hugegraph/backend/store/rocksdb

1 file changed

+2
-2
lines changed

hugegraph-server/hugegraph-rocksdb/src/main/java/org/apache/hugegraph/backend/store/rocksdb/RocksDBOptions.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ public static synchronized RocksDBOptions instance() {
5858
"rocksdb.data_path",
5959
"The path for storing data of RocksDB.",
6060
disallowEmpty(),
61-
"rocksdb-data"
61+
"rocksdb-data/data"
6262
);
6363

6464
public static final ConfigListOption<String> DATA_DISKS =
@@ -83,7 +83,7 @@ public static synchronized RocksDBOptions instance() {
8383
"rocksdb.wal_path",
8484
"The path for storing WAL of RocksDB.",
8585
disallowEmpty(),
86-
"rocksdb-data"
86+
"rocksdb-data/wal"
8787
);
8888

8989
public static final ConfigOption<String> SST_PATH =

0 commit comments

Comments
 (0)