Make list partitioning strategy safer
What does this MR do and why?
This change adds two safeguards to the list partitioning strategy:
- Explicitly lock the table as the first step when adding partitions.
- Do not detach partition when its value is used as the default value of the partition key.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Adam Hegyi