kvrocks icon indicating copy to clipboard operation
kvrocks copied to clipboard

Cannot save the namespace in docker file system

Open eacdy opened this issue 2 years ago • 1 comments

Search before asking

  • [X] I had searched in the issues and found no similar issues.

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?

  • [X] I'm willing to submit a PR!

eacdy avatar Mar 01 '23 06:03 eacdy

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

Close the corresponding program and try again.

PragmaTwice avatar Mar 01 '23 08:03 PragmaTwice