Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
5.5.31
-
None
-
Debian Squeeze amd64
Description
An example of these abnormal values (i added the "|cat -v" at the end of the command to convert the non-ascii chars to standardized notations to avoid the loss/modification of those while copy/pasting to JIRA) :
# /bin/ksh -c 'i=0; while((i<100));do mysql -e "SHOW FULL PROCESSLIST\G" |perl -e "while(\$nl=<>){if(m/^\s*State:\s+[^A-z\s].*\$/){print \$_.\$nl;}} continue{\$_=\$nl;}"; sleep 0.2; ((i++)); done' |cat -v
|
State: ^F
|
Info: INSERT IGNORE INTO dfreeirzq6.t43769 (id,date,mail,bgtrfvd,etc) SELECT tbl.id, tbl.date, tbl.mail, tbl.etc,43769 FROM fjtyris.dfreeirzq437 AS tbl WHERE tbl.bgtrfvd=43769 LIMIT 100
|
State: M-^XM-#M-^@y:^?
|
Info: INSERT IGNORE INTO [...]
|
State: M-xYM->M-D9^?
|
Info: INSERT IGNORE INTO [...]
|
State: M-`M-L.M-U9^?
|
Info: INSERT IGNORE INTO [...]
|
State: ^HM-Gv4:^?
|
Info: INSERT IGNORE INTO [...]
|
State: ^F
|
Info: INSERT IGNORE INTO [...]
|
State: 8i+y:^?
|
Info: INSERT IGNORE INTO [...]
|
State: @a^LM-u9^?
|
Info: INSERT IGNORE INTO [...]
|
Insert queries in the example has been stripped for security reason but all looks the same but not ran on the same base and table ; these queries are all almost the same.
This does not seems to happen on the other server under MySQL 5.5.30 having the same tables/structures and applications executing the same kind of queries.
I havent found so far anything out of the ordinary on the app executing the queries (it does other queries than these INSERTS using the same function without encountering the same bug.
ps: it seems that the STATE value on INFORMATION_SCHEMA.PROCESSLIST is correct and is "Repair with 3 threads" for the problematic recuring INSERT queries so the bug is only on the output of the SHOW PROCESSLIST command.
Attachments
Activity
Field | Original Value | New Value |
---|---|---|
Description |
An example of these abnormal values (i added the "|cat -v" at the end of the command to convert the non-ascii chars to standardized notations to avoid the loss/modification of those while copy/pasting to JIRA) : {noformat} # /bin/ksh -c 'i=0; while((i<100));do mysql -e "SHOW FULL PROCESSLIST\G" |perl -e "while(\$nl=<>){if(m/^\s*State:\s+[^A-z\s].*\$/){print \$_.\$nl;}} continue{\$_=\$nl;}"; sleep 0.2; ((i++)); done' |cat -v State: ^F Info: INSERT IGNORE INTO [...] State: M-^XM-#M-^@y:^? Info: INSERT IGNORE INTO [...] State: M-xYM->M-D9^? Info: INSERT IGNORE INTO [...] State: M-`M-L.M-U9^? Info: INSERT IGNORE INTO [...] State: ^HM-Gv4:^? Info: INSERT IGNORE INTO [...] State: ^F Info: INSERT IGNORE INTO [...] State: 8i+y:^? Info: INSERT IGNORE INTO [...] State: @a^LM-u9^? Info: INSERT IGNORE INTO [...] {noformat} Insert queries in the example has been stripped and the base and table are not always the same and does not contains only \[a-z0-9] chars, usually 10 chars for the DB name and 6 chars for the table name. This does not seems to happen on the other server under MySQL 5.5.30 having the same tables/structures and applications executing the same sort of queries. I havent found so far anything out of the ordinary on the app executing the queries (it does other queries than these INSERTS using the same function without encountering the same bug. |
An example of these abnormal values (i added the "|cat -v" at the end of the command to convert the non-ascii chars to standardized notations to avoid the loss/modification of those while copy/pasting to JIRA) : {noformat} # /bin/ksh -c 'i=0; while((i<100));do mysql -e "SHOW FULL PROCESSLIST\G" |perl -e "while(\$nl=<>){if(m/^\s*State:\s+[^A-z\s].*\$/){print \$_.\$nl;}} continue{\$_=\$nl;}"; sleep 0.2; ((i++)); done' |cat -v State: ^F Info: INSERT IGNORE INTO [...] State: M-^XM-#M-^@y:^? Info: INSERT IGNORE INTO [...] State: M-xYM->M-D9^? Info: INSERT IGNORE INTO [...] State: M-`M-L.M-U9^? Info: INSERT IGNORE INTO [...] State: ^HM-Gv4:^? Info: INSERT IGNORE INTO [...] State: ^F Info: INSERT IGNORE INTO [...] State: 8i+y:^? Info: INSERT IGNORE INTO [...] State: @a^LM-u9^? Info: INSERT IGNORE INTO [...] {noformat} Insert queries in the example has been stripped and the base and table are not always the same and does not contains only \[a-z0-9] chars, usually 10 chars for the DB name and 6 chars for the table name. This does not seems to happen on the other server under MySQL 5.5.30 having the same tables/structures and applications executing the same kind of queries. I havent found so far anything out of the ordinary on the app executing the queries (it does other queries than these INSERTS using the same function without encountering the same bug. |
Description |
An example of these abnormal values (i added the "|cat -v" at the end of the command to convert the non-ascii chars to standardized notations to avoid the loss/modification of those while copy/pasting to JIRA) : {noformat} # /bin/ksh -c 'i=0; while((i<100));do mysql -e "SHOW FULL PROCESSLIST\G" |perl -e "while(\$nl=<>){if(m/^\s*State:\s+[^A-z\s].*\$/){print \$_.\$nl;}} continue{\$_=\$nl;}"; sleep 0.2; ((i++)); done' |cat -v State: ^F Info: INSERT IGNORE INTO [...] State: M-^XM-#M-^@y:^? Info: INSERT IGNORE INTO [...] State: M-xYM->M-D9^? Info: INSERT IGNORE INTO [...] State: M-`M-L.M-U9^? Info: INSERT IGNORE INTO [...] State: ^HM-Gv4:^? Info: INSERT IGNORE INTO [...] State: ^F Info: INSERT IGNORE INTO [...] State: 8i+y:^? Info: INSERT IGNORE INTO [...] State: @a^LM-u9^? Info: INSERT IGNORE INTO [...] {noformat} Insert queries in the example has been stripped and the base and table are not always the same and does not contains only \[a-z0-9] chars, usually 10 chars for the DB name and 6 chars for the table name. This does not seems to happen on the other server under MySQL 5.5.30 having the same tables/structures and applications executing the same kind of queries. I havent found so far anything out of the ordinary on the app executing the queries (it does other queries than these INSERTS using the same function without encountering the same bug. |
An example of these abnormal values (i added the "|cat -v" at the end of the command to convert the non-ascii chars to standardized notations to avoid the loss/modification of those while copy/pasting to JIRA) : {noformat} # /bin/ksh -c 'i=0; while((i<100));do mysql -e "SHOW FULL PROCESSLIST\G" |perl -e "while(\$nl=<>){if(m/^\s*State:\s+[^A-z\s].*\$/){print \$_.\$nl;}} continue{\$_=\$nl;}"; sleep 0.2; ((i++)); done' |cat -v State: ^F Info: INSERT IGNORE INTO dfreeirzq6.t43769 (id,date,mail,bgtrfvd,etc) SELECT tbl.id, tbl.date, tbl.mail, tbl.etc,43769 FROM fjtyris.dfreeirzq437 AS tbl WHERE tbl.bgtrfvd=43769 LIMIT 100 State: M-^XM-#M-^@y:^? Info: INSERT IGNORE INTO [...] State: M-xYM->M-D9^? Info: INSERT IGNORE INTO [...] State: M-`M-L.M-U9^? Info: INSERT IGNORE INTO [...] State: ^HM-Gv4:^? Info: INSERT IGNORE INTO [...] State: ^F Info: INSERT IGNORE INTO [...] State: 8i+y:^? Info: INSERT IGNORE INTO [...] State: @a^LM-u9^? Info: INSERT IGNORE INTO [...] {noformat} Insert queries in the example has been stripped for security reason but all looks the same but not ran on the same base and table ; these queries are all almost the same. This does not seems to happen on the other server under MySQL 5.5.30 having the same tables/structures and applications executing the same kind of queries. I havent found so far anything out of the ordinary on the app executing the queries (it does other queries than these INSERTS using the same function without encountering the same bug. |
Description |
An example of these abnormal values (i added the "|cat -v" at the end of the command to convert the non-ascii chars to standardized notations to avoid the loss/modification of those while copy/pasting to JIRA) : {noformat} # /bin/ksh -c 'i=0; while((i<100));do mysql -e "SHOW FULL PROCESSLIST\G" |perl -e "while(\$nl=<>){if(m/^\s*State:\s+[^A-z\s].*\$/){print \$_.\$nl;}} continue{\$_=\$nl;}"; sleep 0.2; ((i++)); done' |cat -v State: ^F Info: INSERT IGNORE INTO dfreeirzq6.t43769 (id,date,mail,bgtrfvd,etc) SELECT tbl.id, tbl.date, tbl.mail, tbl.etc,43769 FROM fjtyris.dfreeirzq437 AS tbl WHERE tbl.bgtrfvd=43769 LIMIT 100 State: M-^XM-#M-^@y:^? Info: INSERT IGNORE INTO [...] State: M-xYM->M-D9^? Info: INSERT IGNORE INTO [...] State: M-`M-L.M-U9^? Info: INSERT IGNORE INTO [...] State: ^HM-Gv4:^? Info: INSERT IGNORE INTO [...] State: ^F Info: INSERT IGNORE INTO [...] State: 8i+y:^? Info: INSERT IGNORE INTO [...] State: @a^LM-u9^? Info: INSERT IGNORE INTO [...] {noformat} Insert queries in the example has been stripped for security reason but all looks the same but not ran on the same base and table ; these queries are all almost the same. This does not seems to happen on the other server under MySQL 5.5.30 having the same tables/structures and applications executing the same kind of queries. I havent found so far anything out of the ordinary on the app executing the queries (it does other queries than these INSERTS using the same function without encountering the same bug. |
An example of these abnormal values (i added the "|cat -v" at the end of the command to convert the non-ascii chars to standardized notations to avoid the loss/modification of those while copy/pasting to JIRA) : {noformat} # /bin/ksh -c 'i=0; while((i<100));do mysql -e "SHOW FULL PROCESSLIST\G" |perl -e "while(\$nl=<>){if(m/^\s*State:\s+[^A-z\s].*\$/){print \$_.\$nl;}} continue{\$_=\$nl;}"; sleep 0.2; ((i++)); done' |cat -v State: ^F Info: INSERT IGNORE INTO dfreeirzq6.t43769 (id,date,mail,bgtrfvd,etc) SELECT tbl.id, tbl.date, tbl.mail, tbl.etc,43769 FROM fjtyris.dfreeirzq437 AS tbl WHERE tbl.bgtrfvd=43769 LIMIT 100 State: M-^XM-#M-^@y:^? Info: INSERT IGNORE INTO [...] State: M-xYM->M-D9^? Info: INSERT IGNORE INTO [...] State: M-`M-L.M-U9^? Info: INSERT IGNORE INTO [...] State: ^HM-Gv4:^? Info: INSERT IGNORE INTO [...] State: ^F Info: INSERT IGNORE INTO [...] State: 8i+y:^? Info: INSERT IGNORE INTO [...] State: @a^LM-u9^? Info: INSERT IGNORE INTO [...] {noformat} Insert queries in the example has been stripped for security reason but all looks the same but not ran on the same base and table ; these queries are all almost the same. This does not seems to happen on the other server under MySQL 5.5.30 having the same tables/structures and applications executing the same kind of queries. I havent found so far anything out of the ordinary on the app executing the queries (it does other queries than these INSERTS using the same function without encountering the same bug. ps |
Description |
An example of these abnormal values (i added the "|cat -v" at the end of the command to convert the non-ascii chars to standardized notations to avoid the loss/modification of those while copy/pasting to JIRA) : {noformat} # /bin/ksh -c 'i=0; while((i<100));do mysql -e "SHOW FULL PROCESSLIST\G" |perl -e "while(\$nl=<>){if(m/^\s*State:\s+[^A-z\s].*\$/){print \$_.\$nl;}} continue{\$_=\$nl;}"; sleep 0.2; ((i++)); done' |cat -v State: ^F Info: INSERT IGNORE INTO dfreeirzq6.t43769 (id,date,mail,bgtrfvd,etc) SELECT tbl.id, tbl.date, tbl.mail, tbl.etc,43769 FROM fjtyris.dfreeirzq437 AS tbl WHERE tbl.bgtrfvd=43769 LIMIT 100 State: M-^XM-#M-^@y:^? Info: INSERT IGNORE INTO [...] State: M-xYM->M-D9^? Info: INSERT IGNORE INTO [...] State: M-`M-L.M-U9^? Info: INSERT IGNORE INTO [...] State: ^HM-Gv4:^? Info: INSERT IGNORE INTO [...] State: ^F Info: INSERT IGNORE INTO [...] State: 8i+y:^? Info: INSERT IGNORE INTO [...] State: @a^LM-u9^? Info: INSERT IGNORE INTO [...] {noformat} Insert queries in the example has been stripped for security reason but all looks the same but not ran on the same base and table ; these queries are all almost the same. This does not seems to happen on the other server under MySQL 5.5.30 having the same tables/structures and applications executing the same kind of queries. I havent found so far anything out of the ordinary on the app executing the queries (it does other queries than these INSERTS using the same function without encountering the same bug. ps |
An example of these abnormal values (i added the "|cat -v" at the end of the command to convert the non-ascii chars to standardized notations to avoid the loss/modification of those while copy/pasting to JIRA) : {noformat} # /bin/ksh -c 'i=0; while((i<100));do mysql -e "SHOW FULL PROCESSLIST\G" |perl -e "while(\$nl=<>){if(m/^\s*State:\s+[^A-z\s].*\$/){print \$_.\$nl;}} continue{\$_=\$nl;}"; sleep 0.2; ((i++)); done' |cat -v State: ^F Info: INSERT IGNORE INTO dfreeirzq6.t43769 (id,date,mail,bgtrfvd,etc) SELECT tbl.id, tbl.date, tbl.mail, tbl.etc,43769 FROM fjtyris.dfreeirzq437 AS tbl WHERE tbl.bgtrfvd=43769 LIMIT 100 State: M-^XM-#M-^@y:^? Info: INSERT IGNORE INTO [...] State: M-xYM->M-D9^? Info: INSERT IGNORE INTO [...] State: M-`M-L.M-U9^? Info: INSERT IGNORE INTO [...] State: ^HM-Gv4:^? Info: INSERT IGNORE INTO [...] State: ^F Info: INSERT IGNORE INTO [...] State: 8i+y:^? Info: INSERT IGNORE INTO [...] State: @a^LM-u9^? Info: INSERT IGNORE INTO [...] {noformat} Insert queries in the example has been stripped for security reason but all looks the same but not ran on the same base and table ; these queries are all almost the same. This does not seems to happen on the other server under MySQL 5.5.30 having the same tables/structures and applications executing the same kind of queries. I havent found so far anything out of the ordinary on the app executing the queries (it does other queries than these INSERTS using the same function without encountering the same bug. ps: it seems that the STATE value on INFORMATION_SCHEMA.PROCESSLIST is correct and is "Repair with 3 threads" for the problematic recuring INSERT queries so the bug is only on the output of the SHOW PROCESSLIST command. |
Summary | "State" column of the processlist have wrong values (non-ascii chars) for some queries | "State" column of SHOW PROCESSLIST returns wrong values (non-ascii chars) for some states |
Assignee | Elena Stepanova [ elenst ] |
Attachment | varlist.txt [ 22438 ] |
Fix Version/s | 5.5.33 [ 13300 ] | |
Assignee | Elena Stepanova [ elenst ] | Sergei Golubchik [ serg ] |
Fix Version/s | 5.5.34 [ 13500 ] | |
Fix Version/s | 5.5.33 [ 13300 ] |
Fix Version/s | 5.5.34 [ 13700 ] | |
Fix Version/s | 5.5.33a [ 13500 ] |
Labels | characters processlist state | characters processlist state upstream |
Labels | characters processlist state upstream | processlist state upstream |
Labels | processlist state upstream | processlist upstream |
Status | Open [ 1 ] | In Progress [ 3 ] |
Resolution | Fixed [ 1 ] | |
Status | In Progress [ 3 ] | Closed [ 6 ] |
Workflow | defaullt [ 27767 ] | MariaDB v2 [ 43398 ] |
Workflow | MariaDB v2 [ 43398 ] | MariaDB v3 [ 63161 ] |
Workflow | MariaDB v3 [ 63161 ] | MariaDB v4 [ 146817 ] |
Hi,
Is the table MyISAM?
Could you please attach your cnf file or paste SHOW VARIABLES?
Thanks.