Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not use scroll when finding duplicate API key (#45026)
When we create API key we check if the API key with the name already exists. It searches with scroll enabled and this causes the request to fail when creating large number of API keys in parallel as it hits the number of open scroll limit (default 500). We do not need the search context to be created so this commit removes the scroll parameter from the search request for duplicate API key.
- Loading branch information