Loki-stack retention_period not working

Hello,

I am using Kubernetes Helm to deploy the Loki-stack. I expected that this setup would delete chunks every 24 hours, but it doesn’t seem to be working as expected. What could be the issue? Thank you.

loki:
  limits_config:
    retention_period: 24h
    enforce_metric_name: false
  compactor:
    retention_enabled: true
    retention_delete_delay: 1h
  table_manager:
    retention_deletes_enabled: true
    retention_period: 24h
  image:
    tag: 2.9.3
  enabled: true
  isDefault: true
  auth_enabled: false
  podAnnotations:
    prometheus.io/scrape: "true"
    prometheus.io/port: "3100"
  url: http://{{(include "loki.serviceName" .)}}:{{ .Values.loki.service.port }}
  readinessProbe:
    httpGet:
      path: /ready
      port: http-metrics
    initialDelaySeconds: 45
  livenessProbe:
    httpGet:
      path: /ready
      port: http-metrics
    initialDelaySeconds: 45
  datasource:
    jsonData: "{}"
    uid: ""

Try disabling table manager. See Log retention | Grafana Loki documentation