fatal lock wait timeout(7200) should be replaced by SRV_SEMAPHORE_WAIT_EXTENSION in row_import_tablespace_for_mysql
Bug #1038383 reported by
yinfeng
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.1 |
Won't Fix
|
Low
|
Unassigned | |||
5.5 |
Triaged
|
Low
|
Unassigned | |||
5.6 |
Invalid
|
Undecided
|
Unassigned | |||
5.7 |
Invalid
|
Undecided
|
Unassigned |
Bug Description
read code of function row_import_
2704 /* Enlarge the fatal lock wait timeout during import. */
2705 mutex_enter(
2706 srv_fatal_
2707 mutex_exit(
actually , In MySQL5.5.25 and later version, "7200" was replaced by SRV_SEMAPHORE_
tags: | added: low-hanging-fruit xtradb |
To post a comment you must log in.
SRV_SEMAPHORE_ WAIT_EXTENSION is still there in PS in other places.
But the code segment quoted is no longer part of the upstream code (ie. the semaphore wait addition has been removed), however it is still part of PS.
This could either be a merge regression or a fix for upstream regression (since importing tablespaces can take longer than default 600 seconds) .
If it is an upstream regression, then srv_fatal_ semaphore_ wait_threshold += SRV_SEMAPHORE_ WAIT_EXTENSION; would be the right fix.