Skip to content

ThinkingSphinx::ConnectionError - Error connecting to Sphinx via the MySQL protocol. Lost connection to server during query #1266

@madmax

Description

@madmax

After upgrading to recent manticore search and going to docker version https://hub.docker.com/r/manticoresearch/manticore/ (6.3.6) i get sometimes error

ThinkingSphinx::ConnectionError

Error connecting to Sphinx via the MySQL protocol. Lost connection to server during query - SELECT *, WEIGHT() as rank FROM `movie_search_0_core`, `movie_search_1_core`, `movie_search_2_core`, `movie_search_3_core` WHERE MATCH('@(titles,year_index) _begin o que podem as palavras _end') AND `sphinx_deleted` = 0 ORDER BY `rank` DESC, `popular` DESC LIMIT 0, 20 OPTION cutoff=0, field_weights=(titles=20, year_index=1), ranker=proximity; SHOW META

Checked server and there is no crash for manticore. It happens very rarely. Any idea how debug this kind of errors?
I know there is Retrying query mechanism but untill but only works for ThinkingSphinx::QueryExecutionError not for ThinkingSphinx::ConnectionError.

Running the same query again works fine. It looks like this has nothing connected to specific query.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions