Skip to content

cloud_storage: robust handling of enabling/disable tiered storage #6627

Open
@jcsp

Description

Currently, toggling remote.write on a topic has quite literal effects: e.g. when you stop doing uploads, it'll just stop. Existing data stays in S3. When you switch it on again, if the local log was truncated in the meantime, you end up with a weird state in S3 with a gap in the data range.

Summarizing a list of suggestions for lifecycle operations (from @Lazin):

  • disabling SI temporarily (prevent retention from deleting local data until SI is re-enabled, maybe the command should take a duration)
  • disabling SI permanently (delete all data in the cloud)
  • enable SI for existing partition (upload what's available locally)

JIRA Link: CORE-1035

Metadata

Assignees

No one assigned

    Labels

    area/cloud-storageShadow indexing subsystemkind/enhanceNew feature or requestremediationIncident follow-ups that also show up in Incident.io when this label is used.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions