summaryrefslogtreecommitdiff
path: root/mysql-test/main/backup_locks.result
Commit message (Collapse)AuthorAgeFilesLines
* Fix a sporadic failure of main.backup_locksMarko Mäkelä2022-06-281-1/+1
| | | | | | | Ever since commit 9608773f75e2ca21491ef6825c3616cdc96d1ca5 the InnoDB persistent statistics are enabled on all InnoDB tables by default. We must filter out any output that indicates that the statistics tables are being internally accessed by InnoDB.
* Merge 10.4 into 10.5Marko Mäkelä2022-04-061-1/+1
|\
* | Fixed sporadic error in main.backup_locksMonty2022-02-281-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | The follwoing could happen if InnoDB did some background work while test was running: @@ -5,6 +5,8 @@ SELECT LOCK_MODE, LOCK_TYPE, TABLE_SCHEMA, TABLE_NAME FROM information_schema.metadata_lock_info; LOCK_MODE LOCK_TYPE TABLE_SCHEMA TABLE_NAME MDL_SHARED_HIGH_PRIO Table metadata lock test t1 +MDL_SHARED Table metadata lock mysql innodb_table_stats +MDL_SHARED Table metadata lock mysql innodb_index_stat
* | MENT-328 Retry BACKUP STAGE BLOCK DDL in case of deadlocksMonty2022-02-081-1/+22
|/ | | | | | | | | | | | MENT-328 wrongly assumed that the backup failed because of warnings from mariabackup about not found files. This is normal (and the error message should be deleted). randgen failed because mariabackup didn't retry BACKUP STAGE BLOCK DDL if it failed with a deadlock. To simplify things, I implemented the retry loop in the server as this particular deadlock should be quickly resolved.
* MDEV-22879 SIGSEGV (or hang) in free/my_freeMonty2020-10-291-0/+19
| | | | | This bug was already fixed in a previous commit. Added test case from the MDEV to prove it's fixed.
* MDEV-20945: BACKUP UNLOCK + FTWRL assertion failureRinat Ibragimov2020-10-221-0/+102
| | | | | | | | | | | | | | MDEV-20945: BACKUP UNLOCK + FTWRL assertion failure | SIGSEGV in I_P_List from MDL_context::release_lock on INSERT w/ BACKUP LOCK (on optimized builds) | Assertion `ticket->m_duration == MDL_EXPLICIT' failed BACKUP LOCK behavior is modified so it won't be used wrong: - BACKUP LOCK should commit any active transactions. - BACKUP LOCK should not be allowed in stored procedures. - When BACKUP LOCK is active, don't allow any DDL's for that connection. - FTWRL is forbidden on the same connection while BACKUP LOCK is active. Reviewed-by: monty@mariadb.com
* Added support for BACKUP LOCK / BACKUP UNLOCKMichael Widenius2019-01-141-0/+46