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

feat(query): cherry-pick Add mechanism to have a limit on number of pending queries #7990

Merged
merged 2 commits into from
Aug 17, 2021

Conversation

OmarAyo
Copy link
Contributor

@OmarAyo OmarAyo commented Aug 17, 2021

This is useful to avoid blowing up the number of goroutines handling queries, if the user bombards Dgraph with lots of concurrent / asynchronous requests.

Cherry pick from #7603


This change is Reviewable

manishrjain and others added 2 commits August 17, 2021 18:51
…pending queries (#7603)

This is useful to avoid blowing up the number of goroutines handling queries, if the user bombards Dgraph with lots of concurrent / asynchronous requests.

(cherry picked from commit 1450f81)
Fixing up the cherry-pick.
@OmarAyo OmarAyo requested a review from danielmai August 17, 2021 18:15
@OmarAyo OmarAyo requested a review from manishrjain as a code owner August 17, 2021 18:15
Copy link
Contributor

@danielmai danielmai left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note: This cherry-pick doesn't include the superflag changes that came in before max-pending-queries was introduced.

This PR adds the flag --max_pending_queries back to v20.11.

This PR also includes the dgraph increment --conc flag addition that was a part of #7603.

This is needed for ESPLUS-361.

:lgtm_strong:

Reviewed 1 of 3 files at r1, 3 of 3 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @manishrjain)

@OmarAyo OmarAyo merged commit 336444f into release/v20.11 Aug 17, 2021
@joshua-goldstein joshua-goldstein deleted the omar/cherry-pick-max-query-limit branch August 11, 2022 21:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants