Activity log for bug #903443

Date Who What changed Old value New value Message
2011-12-12 22:20:38 Frederic Descamps bug added bug
2011-12-12 22:37:15 Frederic Descamps attachment added patch to make it work on mysql 5.5 https://bugs.launchpad.net/percona-toolkit/+bug/903443/+attachment/2630334/+files/mysql55.patch
2011-12-16 15:55:02 Daniel Nichter description pt-query-logger returns an error when running on MySQL 5.5: pt-deadlock-logger h=127.0.0.1,u=root Argument "" isn't numeric in numeric comparison (<=>) at ./pt-deadlock-logger line 2145. I've tested this on MySQL 5.5.17 Community and 5.5.18 Community the InnoDB status output is like this : ------------------------ LATEST DETECTED DEADLOCK ------------------------ 111212 22:52:42 *** (1) TRANSACTION: TRANSACTION 3405, ACTIVE 161 sec starting index read mysql tables in use 1, locked 1 LOCK WAIT 3 lock struct(s), heap size 376, 3 row lock(s), undo log entries 2 MySQL thread id 19, OS thread handle 0x7fac301e4700, query id 180 localhost root Updating update a set movie_id=96 where id =2 *** (1) WAITING FOR THIS LOCK TO BE GRANTED: RECORD LOCKS space id 0 page no 307 n bits 72 index `PRIMARY` of table `test`.`a` trx id 3405 lock_mode X locks rec but not gap waiting Record lock, heap no 3 PHYSICAL RECORD: n_fields 6; compact format; info bits 0 0: len 4; hex 80000002; asc ;; 1: len 6; hex 000000003404; asc 4 ;; 2: len 7; hex 040000163b2515; asc ;% ;; 3: len 4; hex 80000063; asc c;; 4: len 1; hex 01; asc ;; 5: len 8; hex 8000124a7c1acb8c; asc J| ;; *** (2) TRANSACTION: TRANSACTION 3404, ACTIVE 1026 sec starting index read mysql tables in use 1, locked 1 3 lock struct(s), heap size 376, 2 row lock(s), undo log entries 1 MySQL thread id 18, OS thread handle 0x7fac30225700, query id 181 localhost root Updating update a set movie_id=98 where id =4 *** (2) HOLDS THE LOCK(S): RECORD LOCKS space id 0 page no 307 n bits 72 index `PRIMARY` of table `test`.`a` trx id 3404 lock_mode X locks rec but not gap Record lock, heap no 3 PHYSICAL RECORD: n_fields 6; compact format; info bits 0 0: len 4; hex 80000002; asc ;; 1: len 6; hex 000000003404; asc 4 ;; 2: len 7; hex 040000163b2515; asc ;% ;; 3: len 4; hex 80000063; asc c;; 4: len 1; hex 01; asc ;; 5: len 8; hex 8000124a7c1acb8c; asc J| ;; *** (2) WAITING FOR THIS LOCK TO BE GRANTED: RECORD LOCKS space id 0 page no 307 n bits 72 index `PRIMARY` of table `test`.`a` trx id 3404 lock_mode X locks rec but not gap waiting Record lock, heap no 5 PHYSICAL RECORD: n_fields 6; compact format; info bits 0 0: len 4; hex 80000004; asc ;; 1: len 6; hex 000000003405; asc 4 ;; 2: len 7; hex 0500000e7017e8; asc p ;; 3: len 4; hex 80000062; asc b;; 4: len 1; hex 01; asc ;; 5: len 8; hex 8000124a7c1acbb6; asc J| ;; *** WE ROLL BACK TRANSACTION (2) pt-deadlock-logger returns an error when running on MySQL 5.5: pt-deadlock-logger h=127.0.0.1,u=root Argument "" isn't numeric in numeric comparison (<=>) at ./pt-deadlock-logger line 2145. I've tested this on MySQL 5.5.17 Community and 5.5.18 Community the InnoDB status output is like this :  ------------------------ LATEST DETECTED DEADLOCK ------------------------ 111212 22:52:42 *** (1) TRANSACTION: TRANSACTION 3405, ACTIVE 161 sec starting index read mysql tables in use 1, locked 1 LOCK WAIT 3 lock struct(s), heap size 376, 3 row lock(s), undo log entries 2 MySQL thread id 19, OS thread handle 0x7fac301e4700, query id 180 localhost root Updating update a set movie_id=96 where id =2 *** (1) WAITING FOR THIS LOCK TO BE GRANTED: RECORD LOCKS space id 0 page no 307 n bits 72 index `PRIMARY` of table `test`.`a` trx id 3405 lock_mode X locks rec but not gap waiting Record lock, heap no 3 PHYSICAL RECORD: n_fields 6; compact format; info bits 0  0: len 4; hex 80000002; asc ;;  1: len 6; hex 000000003404; asc 4 ;;  2: len 7; hex 040000163b2515; asc ;% ;;  3: len 4; hex 80000063; asc c;;  4: len 1; hex 01; asc ;;  5: len 8; hex 8000124a7c1acb8c; asc J| ;; *** (2) TRANSACTION: TRANSACTION 3404, ACTIVE 1026 sec starting index read mysql tables in use 1, locked 1 3 lock struct(s), heap size 376, 2 row lock(s), undo log entries 1 MySQL thread id 18, OS thread handle 0x7fac30225700, query id 181 localhost root Updating update a set movie_id=98 where id =4 *** (2) HOLDS THE LOCK(S): RECORD LOCKS space id 0 page no 307 n bits 72 index `PRIMARY` of table `test`.`a` trx id 3404 lock_mode X locks rec but not gap Record lock, heap no 3 PHYSICAL RECORD: n_fields 6; compact format; info bits 0  0: len 4; hex 80000002; asc ;;  1: len 6; hex 000000003404; asc 4 ;;  2: len 7; hex 040000163b2515; asc ;% ;;  3: len 4; hex 80000063; asc c;;  4: len 1; hex 01; asc ;;  5: len 8; hex 8000124a7c1acb8c; asc J| ;; *** (2) WAITING FOR THIS LOCK TO BE GRANTED: RECORD LOCKS space id 0 page no 307 n bits 72 index `PRIMARY` of table `test`.`a` trx id 3404 lock_mode X locks rec but not gap waiting Record lock, heap no 5 PHYSICAL RECORD: n_fields 6; compact format; info bits 0  0: len 4; hex 80000004; asc ;;  1: len 6; hex 000000003405; asc 4 ;;  2: len 7; hex 0500000e7017e8; asc p ;;  3: len 4; hex 80000062; asc b;;  4: len 1; hex 01; asc ;;  5: len 8; hex 8000124a7c1acbb6; asc J| ;; *** WE ROLL BACK TRANSACTION (2)
2011-12-16 15:55:20 Daniel Nichter tags crash mysql-5.5 pt-deadlock-logger
2011-12-16 15:55:39 Daniel Nichter summary pt-query-logger not working pt-deadlock-logger crashes on MySQL 5.5
2011-12-16 17:12:50 Daniel Nichter percona-toolkit: status New Confirmed
2012-04-26 04:48:18 Jacky Leung bug added subscriber Jacky Leung
2012-05-23 17:31:08 Daniel Nichter nominated for series percona-toolkit/2.0
2012-05-23 17:31:08 Daniel Nichter bug task added percona-toolkit/2.0
2012-05-23 17:31:08 Daniel Nichter nominated for series percona-toolkit/2.1
2012-05-23 17:31:08 Daniel Nichter bug task added percona-toolkit/2.1
2012-05-23 17:31:14 Daniel Nichter percona-toolkit/2.0: status New Triaged
2012-05-23 17:31:16 Daniel Nichter percona-toolkit/2.1: milestone 2.1.2
2012-05-23 17:31:18 Daniel Nichter percona-toolkit/2.0: milestone 2.0.5
2012-05-23 17:50:52 Daniel Nichter percona-toolkit/2.0: importance Undecided Medium
2012-05-23 17:50:55 Daniel Nichter percona-toolkit/2.1: importance Undecided Medium
2012-05-27 22:09:23 Brian Fraser percona-toolkit/2.0: assignee Brian Fraser (fraserbn)
2012-05-27 22:09:24 Brian Fraser percona-toolkit/2.1: assignee Brian Fraser (fraserbn)
2012-05-28 14:41:11 Brian Fraser branch linked lp:~percona-toolkit-dev/percona-toolkit/fix-903443
2012-05-30 17:59:57 Brian Fraser percona-toolkit/2.0: status Triaged Fix Committed
2012-05-30 18:00:36 Brian Fraser percona-toolkit/2.1: status Confirmed Fix Committed
2012-06-09 22:33:53 Daniel Nichter percona-toolkit/2.0: status Fix Committed Fix Released
2012-06-19 20:02:39 Daniel Nichter percona-toolkit/2.1: status Fix Committed Fix Released