OpenSearch
OpenSearch copied to clipboard
Add query group level rejection logic
Description
With this change, we will be able to reject the requests for contended query groups.
Note
- The
QueryGroupService
is a stub here and will be replaced by the actual implementation in next couple of days - Due to the above reason the tests for the
QueryGroupService
are intentionally left out to avoid the duplicate efforts.
Related Issues
RFC: https://github.com/opensearch-project/OpenSearch/issues/12342
Check List
- [X] Functionality includes testing.
- [ ] API changes companion pull request created, if applicable.
- [ ] Public documentation issue/PR created, if applicable.
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license. For more information on following Developer Certificate of Origin and signing off your commits, please check here.