Skip to content

Remove drop_created_before alter_job workaround#46

Merged
sebastian-ederer merged 1 commit intomainfrom
refactor/remove_drop_create_before_alter_job_workaround
May 4, 2026
Merged

Remove drop_created_before alter_job workaround#46
sebastian-ederer merged 1 commit intomainfrom
refactor/remove_drop_create_before_alter_job_workaround

Conversation

@sebastian-ederer
Copy link
Copy Markdown
Member

Description

TimescaleDB 2.26.3 (timescale/timescaledb#9577) fixed the policy_retention_check bug that caused alter_job to fail on drop_created_before retention policies. The workaround in RetentionPolicyOperationGenerator that short-circuited BuildAlterJobClauses for these policies is no longer needed.

Type of Change

  • Bug fix (non-breaking change adressing an issue)
  • New feature (non-breaking change adding functionality)
  • Refactoring
  • Documentation
  • CI / build / tooling
  • Breaking change (fix or feature causing existing functionality to change)

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated (Testcontainers)
  • Existing tests pass (dotnet test)

Checklist

  • Code follows the project's coding styles and guidelines
  • I have updated the documentation accordingly
  • I have added tests to cover my changes
  • No new compiler warnings introduced
  • Public API changes have XML documentation

                                                                                                                                                                                                                                                                                                                      TimescaleDB 2.26.3 (timescale/timescaledb#9577) fixed the policy_retention_check bug that caused alter_job to fail on                                                                                                                                                                                                                                                         drop_created_before retention policies. The workaround in RetentionPolicyOperationGenerator that short-circuited BuildAlterJobClauses for these policies is no longer needed.
@sebastian-ederer sebastian-ederer merged commit 2c63c2b into main May 4, 2026
3 checks passed
@sebastian-ederer sebastian-ederer deleted the refactor/remove_drop_create_before_alter_job_workaround branch May 4, 2026 19:36
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.

1 participant