[MDEV-23882] Document possible LOCK_TYPE values for metadata locks Created: 2020-10-03 Updated: 2022-03-12 |
|
| Status: | Open |
| Project: | MariaDB Server |
| Component/s: | Backup, Documentation, Performance Schema |
| Fix Version/s: | 10.5 |
| Type: | Task | Priority: | Major |
| Reporter: | Valerii Kravchuk | Assignee: | Ian Gilfillan |
| Resolution: | Unresolved | Votes: | 0 |
| Labels: | None | ||
| Description |
|
MariaDB 10.5 introduced yet another way to monitor metadata lock, via performance_schema.metadata_locks table. MySQL manual (https://dev.mysql.com/doc/refman/5.7/en/performance-schema-metadata-locks-table.html) can be used to find out what is presented there, but unfortunately there are different/new metadata lock types introduced in MariaDB and one may get the output like this:
that includes BACKUP_TRANS_DML, BACKUP_START, BACKUP_FTWRL1 etc types of locks with OBJECT_TYPE =- BACKUP that upstream documentation does not cover in any way. This is a request to properly document the content of this new P_S table, including all object rypes and all types of metadata locks with compatibility matrix for them if possible. |