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

Search messages with sort OLDEST gets super slow if there are any empty topics #2002

Open
joachimovesen opened this issue Nov 20, 2024 · 1 comment · May be fixed by #2015
Open

Search messages with sort OLDEST gets super slow if there are any empty topics #2002

joachimovesen opened this issue Nov 20, 2024 · 1 comment · May be fixed by #2015
Labels
backend Need a backend update bug Something isn't working topic data Kafka Topic data

Comments

@joachimovesen
Copy link

joachimovesen commented Nov 20, 2024

Partitions are no longer being polled in parallel when using OLDEST sort (since PR #1843 ). This means that for each search request you have to wait for <configured-poll-timeout> * amount of empty topics. For example if the poll-timeout is set to 10 seconds and there are 3 empty partitions then the minimum response time for the request is 30 seconds.

@github-project-automation github-project-automation bot moved this to Backlog in Backlog Nov 20, 2024
@AlexisSouquiere AlexisSouquiere added bug Something isn't working backend Need a backend update topic data Kafka Topic data labels Nov 20, 2024
@AlexisSouquiere
Copy link
Collaborator

Figured out the same. Need to work on it but I didn't have time yet

@AlexisSouquiere AlexisSouquiere linked a pull request Dec 6, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Need a backend update bug Something isn't working topic data Kafka Topic data
Projects
Status: Backlog
Development

Successfully merging a pull request may close this issue.

2 participants