cubefs
cubefs copied to clipboard
[Bug]: Reading the file failed, and the cfs-client log reported "super.go:405: Flush: ino(318538) err(bad file descriptor) and Get node cache failed: ino(16927248)"
Contact Details
No response
Is there an existing issue for this?
- [X] I have searched all the existing issues
Priority
low (Default)
Environment
- CubeFS version: 3.3.0
- Deployment mode(docker or standalone or cluster):
- Dependent components:
- OS kernel version(Ubuntu or CentOS): Ubuntu 20.04.4 LTS
- CPU/Memory:
- Others:
Current Behavior
During the process of compiling the code, reading the file failed.
Expected Behavior
No response
Steps To Reproduce
No response
CubeFS Log
2023/11/29 17:07:05.029505 [ERROR] file.go:507: TRACE Flush err: ino(34263044) err(bad file descriptor) 2023/11/29 17:07:05.336461 [ERROR] extent_client.go:508: Read: stream is not opened yet, ino(318538) offset(0) size(4096) 2023/11/29 17:07:05.336508 [ERROR] super.go:405: Read: ino(318538) req(Read [ID=0xfdd310 Node=0xac3 Uid=51266 Gid=51266 Pid=2674155] 0x81 4096 @0x0 dir=false fl=0 lock=0 ffl=OpenReadOnly) err(bad file descriptor) size(0) 2023/11/29 17:07:05.336586 [ERROR] extent_client.go:508: Read: stream is not opened yet, ino(318538) offset(0) size(4096) 2023/11/29 17:07:05.336645 [ERROR] super.go:405: Read: ino(318538) req(Read [ID=0xfdd316 Node=0xac3 Uid=51266 Gid=51266 Pid=2674155] 0x81 4096 @0x0 dir=false fl=0 lock=0 ffl=OpenReadOnly) err(bad file descriptor) size(0) 2023/11/29 17:07:05.340646 [ERROR] extent_client.go:493: Flush: stream is not opened yet, ino(318538) 2023/11/29 17:07:05.340652 [ERROR] super.go:405: Flush: ino(318538) err(bad file descriptor) 2023/11/29 17:07:05.340657 [ERROR] file.go:507: TRACE Flush err: ino(318538) err(bad file descriptor) 2023/11/29 17:07:05.973957 [ERROR] extent_client.go:493: Flush: stream is not opened yet, ino(55612111) 2023/11/29 17:07:05.973971 [ERROR] super.go:405: Flush: ino(55612111) err(bad file descriptor) 2023/11/29 17:07:05.973976 [ERROR] file.go:507: TRACE Flush err: ino(55612111) err(bad file descriptor) 2023/11/29 17:07:05.974243 [ERROR] extent_client.go:508: Read: stream is not opened yet, ino(34263044) offset(0) size(4096) 2023/11/29 17:07:05.974308 [ERROR] super.go:405: Read: ino(34263044) req(Read [ID=0xfdfa78 Node=0xd69 Uid=51266 Gid=51266 Pid=2674186] 0x42 4096 @0x0 dir=false fl=0 lock=0 ffl=OpenReadOnly) err(bad file descriptor) size(0) 2023/11/29 17:07:05.974393 [ERROR] extent_client.go:508: Read: stream is not opened yet, ino(34263044) offset(0) size(4096) 2023/11/29 17:07:05.974411 [ERROR] super.go:405: Read: ino(34263044) req(Read [ID=0xfdfa7a Node=0xd69 Uid=51266 Gid=51266 Pid=2674186] 0x42 4096 @0x0 dir=false fl=0 lock=0 ffl=OpenReadOnly) err(bad file descriptor) size(0) 2023/11/29 17:07:05.976486 [ERROR] extent_client.go:493: Flush: stream is not opened yet, ino(34263044) 2023/11/29 17:07:05.976495 [ERROR] super.go:405: Flush: ino(34263044) err(bad file descriptor) 2023/11/29 17:07:05.976502 [ERROR] file.go:507: TRACE Flush err: ino(34263044) err(bad file descriptor) 2023/11/29 17:23:13.512579 [ERROR] file.go:121: Get node cache failed: ino(16927248)
Anything else? (Additional Context)
No response
find . -inum 318538
./.ldm/x86_64-conda-linux-gnu/sysroot/usr/include/bits/wordsize.h
^C
less ./.local/miniconda3/envs/trtllm/x86_64-conda-linux-gnu/sysroot/usr/include/bits/wordsize.h
There is no problem in checking this file directly according to the log error report.
@bboyCH4 please check this out
Any solution?