Skip to content

compactor_blocks_retention_period not deleting any data #6295

Open
@adriendinzey

Description

@adriendinzey

Describe the bug
After setting this configuration to 1d and then monitoring it for days after, none of the data is being deleted from the s3 bucket. In the logs there is no mention of "retention" or even "deletion"
To Reproduce
Steps to reproduce the behavior:

  1. Set compactor_blocks_retention_period to 1d
  2. Wait a day or more

Expected behavior
I would expect the data older than a day would bd deleted and I would see in the logs that the retention period is being applied.

Environment:
Version: cortex-1.18.1_amd64

Additional Context
In the config file I have
limits:
compactor_blocks_retention_period: 1d

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions