Bug #73114 | trx_active_transactions counter in innodb_metrics goes negative after errors | ||
---|---|---|---|
Submitted: | 25 Jun 2014 13:30 | ||
Reporter: | Shane Bester (Platinum Quality Contributor) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: InnoDB storage engine | Severity: | S3 (Non-critical) |
Version: | 5.6.19 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[25 Jun 2014 13:30]
Shane Bester
[19 Feb 2015 13:19]
MySQL Verification Team
also : http://bugs.mysql.com/bug.php?id=75966
[19 Jun 2015 3:01]
Davi Arnaut
Decrement number of active transactions whenever a transaction is committed (*) I confirm the code being submitted is offered under the terms of the OCA, and that I am authorized to contribute it.
Contribution: active-transaction-counter-decrement-on-commit.patch (application/octet-stream, text), 1.84 KiB.
[19 Jun 2015 3:13]
Davi Arnaut
Contributed patch is a proof of concept, it still has some issues with resurrected transactions (crash recovery).
[8 Jul 2015 21:04]
Davi Arnaut
The remark about resurrected transactions it not important, the counter gets reset after start anyway.