Skip to content

Add protection_seconds config to prevent deletion of recently created files#176

Merged
Vlasdislav merged 1 commit into
open-gpdb:masterfrom
Vlasdislav:fix/vacuum-garbage-protect-recent-files
Jul 15, 2026
Merged

Add protection_seconds config to prevent deletion of recently created files#176
Vlasdislav merged 1 commit into
open-gpdb:masterfrom
Vlasdislav:fix/vacuum-garbage-protect-recent-files

Conversation

@Vlasdislav

Copy link
Copy Markdown
Contributor

The protection_seconds parameter has been added to the vacuum section of the yproxy. config. Files whose LastMod timestamp falls within the protection window (from procStartTime - protectionWindow to procStartTime) are skipped during garbage collection.

P.S. Continued #175

@Vlasdislav
Vlasdislav requested review from ostinru and reshke and removed request for reshke July 14, 2026 07:18
@Vlasdislav
Vlasdislav force-pushed the fix/vacuum-garbage-protect-recent-files branch from f2921be to d5808c4 Compare July 14, 2026 07:44
@Vlasdislav
Vlasdislav force-pushed the fix/vacuum-garbage-protect-recent-files branch from d5808c4 to 07aef43 Compare July 14, 2026 08:20

@leborchuk leborchuk left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM

@Vlasdislav
Vlasdislav merged commit beb642f into open-gpdb:master Jul 15, 2026
8 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