You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Validate current-snapshot-id and main branch consistency in table metadata #1200
Table metadata records the current snapshot in current-snapshot-id and can also identify it through the main branch in refs. Today, a metadata file can name a current snapshot that is absent from its snapshot list, or it can point current-snapshot-id and refs.main at different snapshots.
Extend TableMetadata::Validate() to check these relationships in full table metadata. Cover a dangling current snapshot ID and a disagreement between two existing snapshots. Preserve support for tables without a current snapshot and for metadata that omits refs, where the reader derives main from the current snapshot ID.
Activity