JackyYangPassion commented on issue #2418:
URL: 
https://github.com/apache/incubator-hugegraph/issues/2418#issuecomment-1966001679

   
   Log
   
   > ```java
   > 2024-01-31 01:44:28 [db-open-1] [ERROR] o.a.h.b.s.r.RocksDBStore - Failed 
to open RocksDB 'rocksdb-data/m'
   > org.rocksdb.RocksDBException: lock hold by current process, acquire time 
1704272264 acquiring thread 139698267633408: rocksdb-data/m/LOCK: No locks 
available
   > ```
   
   Root cause: In Docker, the default directory has already started a RocksDB 
instance, so when the data and WAL directories are not specified, it can lead 
to a RocksDB lock conflict.
   
   When launching Docker, the normal process for dynamically creating graph 
configurations includes adding a data directory. The specific configuration is 
as follows:
   
   ```
   gremlin.graph=org.apache.hugegraph.HugeFactory
   vertex.cache_type=l2
   edge.cache_type=l2
   backend=rocksdb
   serializer=binary
   store=test
   rocksdb.data_path=/hugegraph-server/data/test/data
   rocksdb.wal_path=/hugegraph-server/data/test/wal
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to