apache / kvrocks

Apache Kvrocks is a distributed key value NoSQL database that uses RocksDB as storage engine and is compatible with Redis protocol.
https://kvrocks.apache.org/
Apache License 2.0
3.47k stars 450 forks source link

Cannot save the namespace in docker file system #1289

Open eacdy opened 1 year ago

eacdy commented 1 year ago

Search before asking

Version

2.3.0; 2.2.0

Minimal reproduce step

root@df063bf88c13:/data# redis-cli -h kvrocks -p 6666 -a workitemadmin Warning: Using a password with '-a' or '-u' option on the command line interface may not be safe. kvrocks:6666> namespace add ns1 my_token (error) rename file encounter error: Device or resource busy

always Device or resource busy

What did you expect to see?

namespace add ok.

What did you see instead?

Device or resource busy

Anything Else?

No response

Are you willing to submit a PR?

PragmaTwice commented 1 year ago

I think it happens while another process creates a file lock upon kvrocks.conf.

Close the corresponding program and try again.