Skip to content

Newly created Table Partitions should be locked for writes automatically

Context:

PartitionManager, which is triggered by a cron job job creates partitions on both databases main and ci. To keep the schema the same between both databases, even if one of the partition is not used. See this spec

Because we decided to also lock the writes on all the partitions as well. Which was implemented in MR.

Newly created table partitions are still not locked for writes when they are created. But they should be locked for writes.

CC: @tkuah @rutgerwessels