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

Timeout while searching messages with high date range on some topics #541

Open
erolkskn opened this issue Jan 17, 2023 · 0 comments
Open

Comments

@erolkskn
Copy link

erolkskn commented Jan 17, 2023

Problem

I was working on an experimental alternative architecture for fedbadges but I stumbled upon in this issue. It seems like datanommer/datagrepper fails to bring back old messages from database in some topics.

For example while this endpoint simply just works for the bodhi.update.comment

# example with httpie:
http get https://apps.fedoraproject.org/datagrepper/v2/search start==2015-01-01T00:00:00Z rows_per_page==100 topic==org.fedoraproject.prod.bodhi.update.comment 

It doesn't work for topics like askbot.post.edit or ansible.playbook.complete

# askbot.post.edit example with httpie:
http get https://apps.fedoraproject.org/datagrepper/v2/search start==2015-01-01T00:00:00Z rows_per_page==100 topic==org.fedoraproject.prod.askbot.post.edit

# ansible.playbook.complete example with httpie:
http get https://apps.fedoraproject.org/datagrepper/v2/search start==2015-01-01T00:00:00Z rows_per_page==100 topic==org.fedoraproject.prod.ansible.playbook.complete

Even if it works for these topics, it just happens after trying to search them (and get 502 error) couple of times.

It should be also noted that I didn't include any user on the search criteria.

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

No branches or pull requests

1 participant