Skip to content

Make sst_importer restore support skipping versions by timestamp fields #18399

@3pointer

Description

@3pointer

Feature Request

Is your feature request related to a problem? Please describe:

In certain scenarios, compacted SST files may contain version entries that overlap with the selected restore point. Restoring these entries could break consistency or reintroduce already-applied changes. Therefore, we need a way to skip these versions during the restore process.

Describe the feature you'd like:

Add support for skipping version entries based on boundary timestamps:
- Ignore entries before a specific timestamp — to exclude stale or unfinished versions.
- Ignore entries after a specific timestamp — to avoid restoring data beyond the target restore point.

This filtering should apply independently to each CF (column family) as appropriate.

Describe alternatives you've considered:

Teachability, Documentation, Adoption, Migration Strategy:

Metadata

Metadata

Assignees

No one assigned

    Labels

    affects-7.5This bug affects the 7.5.x(LTS) versions.affects-8.1This bug affects the 8.1.x(LTS) versions.affects-8.5This bug affects the 8.5.x(LTS) versions.component/backup-restoreComponent: backup, import, external_storagetype/enhancementThe issue or PR belongs to an enhancement.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions