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

Ipns dag restructuring #139

Closed
whyrusleeping opened this issue Oct 3, 2014 · 2 comments
Closed

Ipns dag restructuring #139

whyrusleeping opened this issue Oct 3, 2014 · 2 comments

Comments

@whyrusleeping
Copy link
Member

Im creating this issue as a place to discuss how the datastructures associated with ipns should interact and behave when modified.

@whyrusleeping
Copy link
Member Author

Currently, when i modify a file, it modifies the existing DAG object. The problem is that if another object has a pointer to the node i modified, it might access data that is not what it is expecting, One solution is to rewrite the entire tree (keeping unchanged nodes) on a write. This modifies every parent node of the modified node up to the root.

@whyrusleeping
Copy link
Member Author

The other decision is whether or not we want to do this change immediately, or buffer them and do them all when the publish timeout triggers.

@Stebalien Stebalien mentioned this issue May 26, 2020
77 tasks
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

No branches or pull requests

1 participant