I think this is still related to the issue I reported here. If not, feel free to open this as a new bug.
With the version you provided, a parallel BG query using ORDER BY and LIMIT will cause the server to crash
(I know the query is rather stupid with large tables since the head node needs to do the sorting right? But
still it should not take the server down):
select * from FOO order by BAR limit 10;
will crash. This will not crash however:
select * from FOO order by BAR;
select * from FOO limit 10;
Hi,
I think this is still related to the issue I reported here. If not, feel free to open this as a new bug.
With the version you provided, a parallel BG query using ORDER BY and LIMIT will cause the server to crash
(I know the query is rather stupid with large tables since the head node needs to do the sorting right? But
still it should not take the server down):
select * from FOO order by BAR limit 10;
will crash. This will not crash however:
select * from FOO order by BAR;
select * from FOO limit 10;
Stacktrace from the log file is:
/usr/local/ mysql/bin/ mysqld( my_print_ stacktrace+ 0x33)[0x7558e3] mysql/bin/ mysqld( handle_ segfault+ 0x42b)[ 0x50153b] libpthread. so.0[0x309760f5 00] mysql/lib/ plugin/ ha_spider. so(_ZN9ha_ spider8position EPKh+0x111) [0x2b2667584601 ] mysql/bin/ mysqld( _ZN12ha_ partition8posit ionEPKh+ 0x27)[0x8b0d57] mysql/bin/ mysqld( _Z8filesortP3TH DP5TABLEP13st_ sort_fieldjP10S QL_SELECTybPy+ 0x12ae) [0x64b8de] mysql/bin/ mysqld[ 0x596af5] mysql/bin/ mysqld( _ZN4JOIN4execEv +0xb25) [0x5a07e5] mysql/bin/ mysqld( _Z12mysql_ selectP3THDPPP4 ItemP10TABLE_ LISTjR4ListIS1_ ES2_jP8st_ orderSB_ S2_SB_yP13selec t_resultP18st_ select_ lex_unitP13st_ select_ lex+0x162) [0x59c862] mysql/bin/ mysqld( _Z13handle_ selectP3THDP3LE XP13select_ resultm+ 0x17c)[ 0x5a1efc] mysql/bin/ mysqld[ 0x5657b4] mysql/bin/ mysqld( _Z21mysql_ execute_ commandP3THD+ 0x2c65) [0x56b5e5] mysql/bin/ mysqld( _Z11mysql_ parseP3THDPcjP1 2Parser_ state+0x16d) [0x56cd7d] mysql/bin/ mysqld( _Z16dispatch_ command19enum_ server_ commandP3THDPcj +0x1257) [0x56e717] mysql/bin/ mysqld( _Z24do_ handle_ one_connectionP 3THD+0x176) [0x5f7686] mysql/bin/ mysqld( handle_ one_connection+ 0x4a)[0x5f76ea] mysql/bin/ mysqld( pfs_spawn_ thread+ 0x54)[0x7ae034] libpthread. so.0[0x30976078 51] libc.so. 6(clone+ 0x6d)[0x3096ae8 90d]
/usr/local/
/lib64/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/usr/local/
/lib64/
/lib64/
I'm happy to provide any other information that might help...
Thanks!