Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit greedy search by 2 partition periods #84

Merged
merged 2 commits into from
Mar 27, 2018
Merged

Conversation

gsmetal
Copy link
Member

@gsmetal gsmetal commented Mar 27, 2018

Greedy search used to search through every partition table until it gets LIMIT of records. When search query returns nothing it takes a lot of time to search every existing table so loghouse goes to timeout. This PR fix this behavior by limiting greedy search to 2 partition tables to the past and to the future of searched time.

@gsmetal gsmetal requested a review from may-cat March 27, 2018 13:24
@gsmetal gsmetal changed the title Limit seek_to greedy search by 2 partition periods Limit greedy search by 2 partition periods Mar 27, 2018
@may-cat may-cat merged commit 13d427d into master Mar 27, 2018
@diafour diafour deleted the limit-seek-to-search branch September 20, 2018 15:15
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.

2 participants