Skip to content

fix(table): read snapshot retention properties as defaults in ExpireSnapshots - #883

Closed
tanmayrauth wants to merge 1 commit into
apache:mainfrom
tanmayrauth:fix/expire-snapshots-retention-properties
Closed

tanmayrauth wants to merge 1 commit into
apache:mainfrom
tanmayrauth:fix/expire-snapshots-retention-properties

Conversation

@tanmayrauth

Copy link
Copy Markdown
Contributor

ExpireSnapshots was crashing with "cannot find a valid value" when no caller options were provided. It now falls back to min-snapshots-to-keep, max-snapshot-age-ms, and max-ref-age-ms table properties before using the built-in math.MaxInt defaults, matching Java behavior.

Fixes #839

…napshots

ExpireSnapshots was crashing with "cannot find a valid value" when no
caller options were provided. It now falls back to min-snapshots-to-keep,
max-snapshot-age-ms, and max-ref-age-ms table properties before using the
built-in math.MaxInt defaults, matching Java behavior.

Fixes apache#839
@zeroshade

Copy link
Copy Markdown
Member

Closing as duplicate of #877

@zeroshade zeroshade closed this Apr 13, 2026
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.

fix: read snapshot retention properties as defaults in ExpireSnapshots

2 participants