Skip to content

[Feature] Add check before drop partition for chain table #7107

@Stefanietry

Description

@Stefanietry

Search before asking

  • I searched in the issues and found nothing similar.

Motivation

Checks if a partition can be dropped about snapshot partition for chain table, there are only two scenarios are supported:

  1. there are preceding snapshot partitions exist.
  2. there are no subsequent delta partitions.

Solution

Before process drop partition, add a pre-verification check to ensure that the partition meets the above conditions.

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions