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]
Shane Bester
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.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.