MySQL Crashes on COALESCE PARTITION
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Spider for MySQL |
Fix Released
|
Critical
|
Kentoku SHIBA | ||
Spider-2.x |
Fix Released
|
Critical
|
Kentoku SHIBA |
Bug Description
MySQL crashes on attempt to SHOW TABLE STATUS when the results include a table partitioned by Spider. Neither can I add new partitions.
COALESCE PARTITIONを実行したと
ソフトウェアのバージョンやテー
Spider table:
CREATE TABLE `table_one` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(16) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=SPIDER DEFAULT CHARSET=utf8 CONNECTION=
PARTITION BY LINEAR HASH (id)
(PARTITION pt1 COMMENT = 'host "remotenode1"' ENGINE = SPIDER,
PARTITION pt2 COMMENT = 'host "remotenode2"' ENGINE = SPIDER,
PARTITION pt3 COMMENT = 'host "remotenode3"' ENGINE = SPIDER);
Remote InnoDB partition tables:
CREATE TABLE `table_one` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(16) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
Now I try to coalesce a partition and MySQL crashes:
mysql> ALTER TABLE `table_one` COALESCE PARTITION 1;
ERROR 2013 (HY000): Lost connection to MySQL server during query
mysql> 091124 21:59:31 mysqld_safe Number of processes running now: 0
091124 21:59:31 mysqld_safe mysqld restarted
Here's the error log from mysqld:
thd: 0x87f1be0
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
stack_bottom = 0x8c9c5398 thread_stack 0x30000
/usr/local/
/usr/local/
[0xb7fe5400]
/usr/local/
703c]
/usr/local/
739a]
/usr/local/
tion_element*
/usr/local/
long long*, unsigned char const*, unsigned int)+0x73d) [0x831a82d]
/usr/local/
/usr/local/
, char const*, unsigned int)+0x6a7) [0x815a077]
/usr/local/
t, st_order*, bool)+0x18ff) [0x832887f]
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/lib/tls/
/lib/tls/
Trying to get some variables.
Some pointers may be invalid and cause the dump to abort...
thd->query at 0x9579660 = ALTER TABLE `table_one` COALESCE PARTITION 1
thd->thread_id=1
thd->killed=
The manual page at http://
information that should help you find out what is causing the crash.
091124 21:59:31 mysqld_safe Number of processes running now: 0
091124 21:59:31 mysqld_safe mysqld restarted
description: | updated |
description: | updated |
Changed in spiderformysql: | |
assignee: | nobody → Kentoku SHIBA (kentokushiba) |
バグ報告ありがとうございます。 9でリリースしましたので、 ご確認をお願いします。
修正を行い、バージョン2.