Skip to content

Ipns dag restructuring #139

Closed
Closed

Description

@whyrusleeping

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

Activity

  1. whyrusleeping commented on Oct 3, 2014

    @whyrusleeping
    MemberAuthor

    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.

  2. whyrusleeping commented on Oct 3, 2014

    @whyrusleeping
    MemberAuthor

    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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions