Closed herefree closed 1 month ago
It is possible that the branches tag does not exist but the snapshot exists?
It is possible that the branches tag does not exist but the snapshot exists?
Yes, if you create empty branch then insert some data to this branch, or you create branch from tag then delete branch's tag. In above two case snapshot will exists,tag will not exists. In this case created_from_tag will be null. I do not think we should remain created_from_snapshot,because we only support create_branch from tag. Snapshot will expire quickly, it's hard for us to know whether the earliest snapshot of the branch is from the main branch.
created_from_snapshot
can be the origin of the tag?
created_from_snapshot
can be the origin of the tag?
That's okay, I'll modify it.
With the current architecture, we cannot accurately obtain the origin snapshot of the branch. Maybe we should open a discussion thread to discuss this issue.
With the current architecture, we cannot accurately obtain the origin snapshot of the branch. Maybe we should open a discussion thread to discuss this issue.
I create a issue #4166
Can we just delete created_from_tag and created_from_snapshot first?
Can we just delete created_from_tag and created_from_snapshot first?
I think it's ok if we can't get the exact tag and snapshot.I'll change it.
Can we just delete created_from_tag and created_from_snapshot first?
have changed.
Purpose
created_from_snapshot
should be the origin of the tag,not the earliest snapshot of the branch.Linked issue: close #xxx
Tests
API and Format
Documentation