You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Protocol autodetection introduced in 3.5.0 broke integration with SphinxSE, because the server expects the client (SphinxSE mysql engine) to send smth to detect the protocol, but SphinxSE just opens a connection and waits, then a timeout occurs:
Table in MariaDB:
CREATE TABLE `t2` (
`id` bigint(20) unsigned NOT NULL,
`weight` int(11) NOT NULL,
`query` varchar(3072) NOT NULL,
`group_id` int(11) DEFAULT NULL,
KEY `query` (`query`(768))
) ENGINE=SPHINX DEFAULT CHARSET=utf8mb4 CONNECTION='sphinx://localhost:9312/test'
Fail on select:
MariaDB [test]> reset query cache; SELECT*FROM t2 WHERE query='abc;mode=any';
Query OK, 0 rows affected (0.000 sec)
ERROR 1429 (HY000): Unable to connect to foreign data source: failed to receive searchd version (host=localhost, port=9312)
That is kind of 'gray area' in sphinx binary protocol handshake, namely:
who speaks first after connect? Usually order is not important, just the
fact that both send the handshake. But SpinxSE explicitly wait daemon
to speak first.
Protocol autodetection introduced in 3.5.0 broke integration with SphinxSE, because the server expects the client (SphinxSE mysql engine) to send smth to detect the protocol, but SphinxSE just opens a connection and waits, then a timeout occurs:
Table in MariaDB:
Fail on select:
TCP:
The idea is to add a new listen protocol "sphinxse" especially for SphinxSE.
The text was updated successfully, but these errors were encountered: