You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When testing the performance of Rocksdb with multiple column families, I used four clients to load workloads on Rocksdb and wrote a script to execute four commands in parallel. The content is as follows:
But only one command can be executed, and other commands cannot be executed due to resource-locked issues when initing a DB. The terminal prompts an error message as follows:
Is this error message indicating that multiple instances are using the same database path, and a database path can only be accessed by one instance? As far as I know, Rocksdb supports multi-threaded parallel access to a DB. I guess YCSB has imposed restrictions on Rocksdb, but I don't know how to modify this restriction.
Should I make modifications against init() and clean up() methods inYCSB/core/src/main/java/site/ycsb/rocksdb/RocksDBClient.java (for example, using the CAS directive form————ReentrantLock class to reconstruct locks to RocksDBClient.class rather than synchronization primitives)?
The text was updated successfully, but these errors were encountered:
I encountered this issue when I try to extend YCSB to support Multi-column families for rocksdb. After modifying the key generation policy implemented in YCSB, this issue is solved
When testing the performance of Rocksdb with multiple column families, I used four clients to load workloads on Rocksdb and wrote a script to execute four commands in parallel. The content is as follows:
But only one command can be executed, and other commands cannot be executed due to resource-locked issues when initing a DB. The terminal prompts an error message as follows:
Is this error message indicating that multiple instances are using the same database path, and a database path can only be accessed by one instance? As far as I know, Rocksdb supports multi-threaded parallel access to a DB. I guess YCSB has imposed restrictions on Rocksdb, but I don't know how to modify this restriction.
Should I make modifications against init() and clean up() methods inYCSB/core/src/main/java/site/ycsb/rocksdb/RocksDBClient.java (for example, using the CAS directive form————ReentrantLock class to reconstruct locks to RocksDBClient.class rather than synchronization primitives)?
The text was updated successfully, but these errors were encountered: