Cannot save the namespace in docker file system
- Dominant language
- C++
- Stars
- 4.4k
- Forks
- 658
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 10
Description
### Search before asking
- [X] I had searched in the [issues](https://github.com/apache/incubator-kvrocks/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!
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the failure with redis-cli against Kvrocks in Docker using the namespace add ns1 my_token command, then trace the namespace-add path that reports the rename-file error. Done means namespace creation succeeds on the affected Docker filesystem and the regression is covered by an appropriate test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp, docker
- Domain
- backend, databases
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100