Bug #36585 | Trigger hangs, if fired on database being restored. | ||
---|---|---|---|
Submitted: | 8 May 2008 4:05 | Modified: | 20 Aug 2008 16:24 |
Reporter: | Hema Sridharan | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Backup | Severity: | S3 (Non-critical) |
Version: | mysql-6.0-backup | OS: | Linux |
Assigned to: | Hema Sridharan | CPU Architecture: | Any |
[8 May 2008 4:05]
Hema Sridharan
[29 Jul 2008 7:29]
Rafal Somla
I wonder what does that mean that "trigger hangs"? Does it hang for the duration of the RESTORE only, or it hangs forever. In the latter case does the server crash? If not, what is shown in I_S.PROCESSLIST (can be accessed from another connection). If trigger hangs only for the duration of RESTORE then it is expected behaviour. RESTORE operation write-locks all tables being restored and then any other statement which wants to change data in these tables should hang until locks are removed at the end of RESTORE.
[5 Aug 2008 16:27]
Hema Sridharan
The trigger hanging (i.e the insert/update operations) was permanent even after completion of Restore operation. Eventually it was not possible to perform any operations after Restore, as all the statements used to hang. This was the behavior when I filed the defect.