Skip to content

Consider making snapshot ids inheritable #504

Closed

Description

@aokolnychyi

Right now, we have to rewrite manifests to update entries' snapshot ids while appending manifests to a table. We should consider using the approach we planned for sequence numbers to make snapshot ids inheritable. That way, we won't have to rewrite manifests.

Activity

  1. chenjunjiedada commented on Oct 9, 2019

    @chenjunjiedada
    Contributor

    Hi @aokolnychyi,
    One question about inheriting the snpahostId, If the new manifests inherit the snapshot id, does that means the time travel feature broken since one snaphost may has different dataset at different time?

  2. aokolnychyi commented on Oct 28, 2019

    @aokolnychyi
    ContributorAuthor

    @chenjunjiedada, sorry, I missed your comment.

    I think data files should optionally inherit the snapshot id and we still want to keep a way to explicitly annotate files with snapshot ids in manifests. For example, it is safe to inherit the snapshot id while appending files but we still want to annotate different files with their respective snapshot ids while compacting manifests, for example.

  3. aokolnychyi commented on Oct 28, 2019

    @aokolnychyi
    ContributorAuthor

    I am actually thinking to rename this issue into something more generic. Let me see if we can have a common way to inherit some metadata.

  4. chenjunjiedada commented on Oct 29, 2019

    @chenjunjiedada
    Contributor

    @aokolnychyi, Thanks for your explanation.

    I think I didn't understand the use case you mentioned. I thought a new manifest should always have a new snapshot ID whatever entries it takes. While you were considering the checkpoint or compacting thing so that the manifest should contain the same snapshot as its original manifest. Do I understand correctly now?

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