Skip to content

Conversation

@MBoldyrev
Copy link

@MBoldyrev MBoldyrev commented Jan 29, 2018

When searching on a distributed index containing multiple local indices, and the conditions for reusing sorter are met, the sorter is created and stored at line searchd.cpp:8257:
pLocalSorter = sphCreateQueue ( tQueueSettings );
Then the local variable tQueueSettings leaves the 'if' block and disappears, together with its m_uPackedFactorFlags member, whose value was not stored anywhere. This leads to CSphQuery::m_bZSlist being false regardless zonespanlist() function presence in the query. As a result, garbage or crashes take place of the expected zone lists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant