Skip to content

Allow compaction disable per tenant - #3965

Merged
zalegrala merged 6 commits into
grafana:mainfrom
zalegrala:tempoCompactionDisablePerTenant
Aug 15, 2024
Merged

Allow compaction disable per tenant#3965
zalegrala merged 6 commits into
grafana:mainfrom
zalegrala:tempoCompactionDisablePerTenant

Conversation

@zalegrala

@zalegrala zalegrala commented Aug 14, 2024

Copy link
Copy Markdown
Contributor

What this PR does:

Here we plumb in an option to allow compaction to be disabled per tenant. This will be useful to perform certain operations on the backend which require compaction to be disabled for a period of time.

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]
@zalegrala
zalegrala marked this pull request as ready for review August 14, 2024 19:26
Comment thread modules/overrides/config_legacy.go Outdated
@zalegrala
zalegrala force-pushed the tempoCompactionDisablePerTenant branch from 67ba83b to 6d45fc2 Compare August 14, 2024 20:41

@joe-elliott joe-elliott left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

looking good. maybe just clarify Disabled -> CompactionDisabled? everything else is +1

Comment thread modules/compactor/compactor.go Outdated
Comment thread modules/compactor/compactor.go Outdated
@zalegrala
zalegrala force-pushed the tempoCompactionDisablePerTenant branch from e7cef91 to 736cbd9 Compare August 15, 2024 13:20

@joe-elliott joe-elliott left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

looks good so going to approve, but if we can sneak changelog/docs in would be good

@zalegrala
zalegrala merged commit 7dffd0e into grafana:main Aug 15, 2024
@zalegrala
zalegrala deleted the tempoCompactionDisablePerTenant branch August 15, 2024 17:05
mattdurham pushed a commit to mattdurham/tempo that referenced this pull request Jun 18, 2026
* Allow compaction disable per tenant

* Update mock

* Rename legacy yaml key

* Rename methods and fields for clarity about disablement

* Rename methods and fields for clarity about disablement

* Update changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants