Skip to content

refactor(table): make PostCommit optional in ExpireSnapshots - #677

Merged
zeroshade merged 3 commits into
apache:mainfrom
dhananjaykrutika:postcommit-optional
Jan 17, 2026
Merged

zeroshade merged 3 commits into
apache:mainfrom
dhananjaykrutika:postcommit-optional

Conversation

@dhananjaykrutika

Copy link
Copy Markdown
Contributor

Allow callers to control whether PostCommit (file deletion) runs after expiring snapshots. PostCommit is enabled by default to preserve existing behavior. Use WithPostCommit(false) to skip file cleanup when metadata-only updates are desired.

Allow callers to control whether PostCommit (file deletion) runs after
expiring snapshots. PostCommit is enabled by default to preserve existing
behavior. Use WithPostCommit(false) to skip file cleanup when metadata-only
updates are desired.

@zeroshade zeroshade left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just one nitpick! otherwise looks great. thanks!

Comment thread table/transaction.go Resolved
@dhananjaykrutika

Copy link
Copy Markdown
Contributor Author

just one nitpick! otherwise looks great. thanks!

Done

@zeroshade
zeroshade merged commit a950faa into apache:main Jan 17, 2026
11 checks passed
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.

2 participants