Skip to content

P2 infra: add MinIO ILM expiry for raw objects #16

Description

@SlavaKuntsov

Phase / Priority / Area

Phase 15 · Priority P2 · Area infra

Scope

deploy/docker-compose.yml:50 (minio-setup), scripts/ilm.sh (new), services/transcoder/app/consumer.py (hook after ready)

Goal

Удалять raw/{id}/original.mp4 через 7d / сразу.

Acceptance Criteria

  • mc ilm add --expiry-days 7 для raw/, опц. KEEP_RAW=false → сразу RemoveObject, videos.updated_at обновляется

Проверки

mc ilm ls, raw/ исчезает

Риски

Сразу vs 7d — подтвердить (стоимость vs дебаг)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions