Bug #42830 | Falcon Exception: ResultSet has been closed after recovery | ||
---|---|---|---|
Submitted: | 13 Feb 2009 13:04 | Modified: | 15 May 2009 15:58 |
Reporter: | Philip Stoev | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Falcon storage engine | Severity: | S1 (Critical) |
Version: | 6.0-falcon-team | OS: | Any |
Assigned to: | Christopher Powers | CPU Architecture: | Any |
Tags: | F_ERROR HANDLING, system transaction, Tablespace |
[13 Feb 2009 13:04]
Philip Stoev
[19 Feb 2009 17:16]
Kevin Lewis
Chris, Vlad suggests that this may be similar to Bug#42725. These bugs may be seen now because the scavenger is running more often. Please investigate whether the scavenger needs to coordinate access to ResultSets before clearing them.
[23 Feb 2009 20:17]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/67254 3032 Christopher Powers 2009-02-23 Bug#42725 "Exception when filling I_S.TABLESPACES by Falcon" Bug#42830 "Falcon Exception: ResultSet has been closed after recovery" The exception occurs because the system transaction is committed while the result set is being accessed. The commit closes the statement and clears the associated result sets. To prevent this, the tablespace getinfo methods now get a shared lock on syncSysDDL before executing queries. Database::openDatabase also gets a shared lock on syncSysDDL prior to executing query and processing the result set. Note that this issue was indirectly addressed by disabling scavenging during recovery: http://lists.mysql.com/commits/66823.
[23 Feb 2009 22:47]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/67268 3034 Christopher Powers 2009-02-23 Bug#42725 "Exception when filling I_S.TABLESPACES by Falcon" Bug#42830 "Falcon Exception: ResultSet has been closed after recovery" Missed a spot: SequenceManager::initialize()
[2 Mar 2009 14:12]
Bugs System
Pushed into 6.0.11-alpha (revid:alik@sun.com-20090302140208-lfdejjbcyezlhhjt) (version source revid:olav@sun.com-20090224081308-fcszc3gg5r9gykao) (merge vers: 6.0.11-alpha) (pib:6)
[15 May 2009 15:58]
MC Brown
An entry has been added to the 6.0.11 changelog: When Falcon is populating the INFORMATION_SCHEMA.TABLESPACES table, an exception can be raised because required result set has been closed before the resultset has been completed. This can happen during a BACKUP operation.