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

change on node hard delete #46

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Karl233
Copy link

@Karl233 Karl233 commented Oct 8, 2023

Hello there.
I've encountered a trouble while deleting a node with destroy set to be true. After hard deletion the destroyed node can still be obtained by *func (MegaFS) PathLookup while not existing in mega server. So I dig into it and found the node will only be removed from hash table but still exists in its parent's children slice.
I made some change to handle this. But I am not sure whether the hard deletion you designed is meant to be used that way or something else. So plz check it when you are free. Anyway great appreciate for what you guys do for this fabulous tool.

@jsfraz
Copy link

jsfraz commented Mar 27, 2025

Please look into this, same problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants