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

Directory tree may contain loop when rename concurrently? #5711

Open
polyrabbit opened this issue Mar 3, 2025 · 1 comment
Open

Directory tree may contain loop when rename concurrently? #5711

polyrabbit opened this issue Mar 3, 2025 · 1 comment
Labels
kind/question Further information is requested

Comments

@polyrabbit
Copy link
Contributor

Ref: InfiniFS: An Efficient Metadata Service for Large-Scale Distributed Filesystems.

Image

In figure 8, when two clients concurrently rename paths with longer hierarchies, an orphaned loop may be created.

It's a rare case, but is it possible to happen in JuiceFS? e.g. in tikv, I suppose those two rename ops won't even conflict?

@polyrabbit polyrabbit added the kind/question Further information is requested label Mar 3, 2025
@jiefenghuang
Copy link
Contributor

this may happen, Known issue in #4800.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants