Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The rename operation did not behave as expected #4800

Open
XLPE opened this issue Apr 26, 2024 · 1 comment
Open

The rename operation did not behave as expected #4800

XLPE opened this issue Apr 26, 2024 · 1 comment
Labels
pending Solution to this issue is not decided priority/wishlist The lowest priority

Comments

@XLPE
Copy link

XLPE commented Apr 26, 2024

What happened:
Many directories are missing
What you expected to happen:
All directories should exist
How to reproduce it (as minimally and precisely as possible):

  1. Bind two directories separately
    juicefs format --storage s3 ***** tikv://*** --trash-days=0
    juicefs mount tikv://*** /data01
    juicefs mount tikv://*** /data02
  2. Run the shell script
rm /data01/* -rf
mkdir -p /data01/a/c
mkdir -p /data01/b/d/e
mv /data01/a  /data01/b/d/e  &
mv /data02/b/d /data02/a/c &

Anything else we need to know?

The expected directory structure is one of the following:
image

The script was run, and the result is shown in the figure below. Unfortunately, many directories are missing.
image

Environment:

  • JuiceFS version 1.1.1
  • Cloud provider or hardware configuration running JuiceFS:
  • OS (e.g cat /etc/os-release): Ubuntu 18.04.6 LTS
  • Kernel (e.g. uname -a): Linux 5.15.146.1
  • Object storage (cloud provider and region, or self maintained): minio
  • Metadata engine info (version, cloud provider managed or self maintained): tikv 7.5.0
  • Network connectivity (JuiceFS to metadata engine, JuiceFS to object storage): localhost
@XLPE XLPE added the kind/bug Something isn't working label Apr 26, 2024
@XLPE
Copy link
Author

XLPE commented Apr 26, 2024

read this article: https://juejin.cn/post/7088582913347813412

@davies davies removed the kind/bug Something isn't working label May 20, 2024
@SandyXSD SandyXSD added pending Solution to this issue is not decided priority/wishlist The lowest priority labels May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pending Solution to this issue is not decided priority/wishlist The lowest priority
Projects
None yet
Development

No branches or pull requests

3 participants