[MDEV-4034] Enhancement: ALTER TABLE ... REBUILD PARTITION ... blocks all writes to the table, including inserts that would go to other partitions Created: 2013-01-14  Updated: 2015-10-30

Status: Open
Project: MariaDB Server
Component/s: None
Fix Version/s: None

Type: Task Priority: Minor
Reporter: Gordan Bobic Assignee: Unassigned
Resolution: Unresolved Votes: 1
Labels: None


 Description   

At the moment, ALTER TABLE ... REBUILD PARTITION ... results in a table lock being placed. This prevents all operations on the entire table, including operations that would obviously not touch the partition being rebuilt (i.e. where the WHERE clause explicitly specifies a value for a partitioned field that falls outside of the content of the partition being rebuilt.

It would be really useful if this full table level lock could be avoided by effectively treating each partition as a separate table for purposes of locking.


Generated at Thu Feb 08 06:53:13 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.