Skip to content

refactor: remove obsolete migration code in alertmanager#7513

Merged
SungJin1212 merged 1 commit into
cortexproject:masterfrom
SungJin1212:delete-old-am-migration
May 14, 2026
Merged

refactor: remove obsolete migration code in alertmanager#7513
SungJin1212 merged 1 commit into
cortexproject:masterfrom
SungJin1212:delete-old-am-migration

Conversation

@SungJin1212
Copy link
Copy Markdown
Member

Deleted the migrateStateFilesToPerTenantDirectories and its helper getObsoleteFilesPerUser, along with the obsoleteStateFiles struct. This code was responsible for migrating old state files to a new directory structure and is now obsolete.

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]
  • docs/configuration/v1-guarantees.md updated if this PR introduces experimental flags

…ctories

Signed-off-by: SungJin1212 <tjdwls1201@gmail.com>
@dosubot dosubot Bot added component/alertmanager type/chore Something that needs to be done; not a bug or a feature labels May 13, 2026
@SungJin1212 SungJin1212 changed the title refactor: remove obsolete migration of state files to per-tenant dire… refactor: remove obsolete migration code in alertmanger May 13, 2026
@friedrichg friedrichg changed the title refactor: remove obsolete migration code in alertmanger refactor: remove obsolete migration code in alertmanager May 13, 2026
@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label May 13, 2026
@SungJin1212 SungJin1212 merged commit 8b3f7bc into cortexproject:master May 14, 2026
37 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/alertmanager lgtm This PR has been approved by a maintainer size/L type/chore Something that needs to be done; not a bug or a feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants