Search before asking
Motivation
Checks if a partition can be dropped about snapshot partition for chain table, there are only two scenarios are supported:
- there are preceding snapshot partitions exist.
- 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?