Concurrently deleting a massive directory content turns the whole filesystem inaccessible #337
Replies: 4 comments 12 replies
-
@cayolblake I can't reproduce this issue: root@localhost:/jfs/mod# ls github.com
alecthomas cpuguy83 form3tech-oss hungys mattn pierrec spaolacci
aliyun !data!dog go-asn1-ber !i!b!m matttproud pingcap square
!arvintian davecgh gogo imdario miekg pkg streadway
aws davies golang jcmturner minio prometheus tencentyun
!azure dchest go-ldap jmespath mitchellh qiniu tidwall
baidubce deckarep gomodule josharian modern-go rcrowley tikv
bcicen dgrijalva google json-iterator montanaflynn rjeczalik tinylib
beevik dgryski googleapis juicedata mozillazg rs upyun
beorn7 djherbis go-redis juju nats-io russross urfave
billziss-gh dswarbrick gorilla klauspost ncw ryanuber valyala
ceph dustin go-sql-driver kr !net!ease-!object-!storage satori viki-org
cespare eapache grpc-ecosystem ks3sdklib nsqio secure-io !vivid!cortex
cheggaaa eclipse hanwen kurin olivere shirou wcharczuk
colinmarc elazarl hashicorp lib opentracing !shopify willf
coredns fatih huandu mailru pengsrc shurcoo!l xdg
coreos felixge huaweicloud !masterminds philhofer sirupsen yunify
root@localhost:/jfs/mod# rm -rf github.com/
root@localhost:/jfs/mod# It looks like do you have permission to remove these files, rather than something related to |
Beta Was this translation helpful? Give feedback.
-
Confirmed. There's a corruption in the mount point not related to names and I'll report in a different issue. |
Beta Was this translation helpful? Give feedback.
-
It appears the problems is much bigger than expected. I changed the title of the issue since I was able to track down what happened which is not a single file in the What I did was the following to reach the current state.
That's all what happened. Not sure if I lost the content for good or not 🤔 |
Beta Was this translation helpful? Give feedback.
-
After looking at these together, there is what happpened:
|
Beta Was this translation helpful? Give feedback.
-
What happened:
What you expected to happen:
Dir to be recursively removed.
Environment:
./juicefs --version
) or Hadoop Java SDK version:juicefs version 0.12.1-10 (2021-04-21 dadf18e)
cat /etc/os-release
):Fedora 33
uname -a
):5.11.14-200.fc33.x86_64
DigitalOcean/S3
Redis server v=6.2.2 sha=00000000:0 malloc=jemalloc-5.1.0 bits=64 build=c8cbd75df80c9803
Single machine setup
Beta Was this translation helpful? Give feedback.
All reactions