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

Send solr request only once [#19] #20

Merged
merged 1 commit into from
Mar 6, 2024

Conversation

reekitconcept
Copy link
Member

The solr request to the backend is sent 2 times. This fixes it and only 1 is sent.

By the way, this triggered a bug in asyncconnect. There was a race condition and sometimes the results will be ignored completely, that is both of the two updates were ignored.

It's beyond the scope to fix asyncconnect, but sending only 1 request instead of the double should fix this.

The solr request to the backend is sent 2 times. This fixes it and
only 1 is sent.

By the way, this triggered a bug in asyncconnect. There was a race
condition and sometimes the results will be ignored completely, that is
both of the two updates were ignored.

It's beyond the scope to fix asyncconnect, but sending only 1 request
instead of the double should fix this.
@reekitconcept reekitconcept added the bug Something isn't working label Mar 6, 2024
@reekitconcept reekitconcept self-assigned this Mar 6, 2024
@reekitconcept reekitconcept merged commit 555e16f into main Mar 6, 2024
6 checks passed
@reekitconcept reekitconcept deleted the ree-fix-double-solr-request branch March 6, 2024 12:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants