Skip to content

fix: reject tag refs for main snapshot ref - #745

Merged
wgtmac merged 1 commit into
apache:mainfrom
zhjwpku:fix-main-tag-ref
Jun 16, 2026
Merged

fix: reject tag refs for main snapshot ref#745
wgtmac merged 1 commit into
apache:mainfrom
zhjwpku:fix-main-tag-ref

Conversation

@zhjwpku

@zhjwpku zhjwpku commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

Validate that the reserved main snapshot ref is always a branch, and preserve snapshot log timestamps for newly added snapshots without overwriting table metadata update time.

This behavior is aligned with Java's TableMetadata.Builder.setRef

Validate that the reserved main snapshot ref is always a branch,
and preserve snapshot log timestamps for newly added snapshots
without overwriting table metadata update time.

This behavior is aligned with Java's TableMetadata.Builder.setRef
@wgtmac

wgtmac commented Jun 16, 2026

Copy link
Copy Markdown
Member

Thanks @zhjwpku for the fix and @huan233usc for the review!

@wgtmac
wgtmac merged commit 64691e4 into apache:main Jun 16, 2026
20 checks passed
@zhjwpku
zhjwpku deleted the fix-main-tag-ref branch June 16, 2026 13:31
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.

3 participants