-
Notifications
You must be signed in to change notification settings - Fork 24.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix GET /_snapshot/_all/_all if there are no repos (#43558)
When there are no repositories, a request to GET /_snapshot/_all/_all returns a 504 timeout error. This happens because try to create GroupedActionListener with the size of zero, which leads to an exception. This commit short-circuits if there are no repos and adds a test to verify the fix. Closes #43547
- Loading branch information
1 parent
4f6ec95
commit 03e8734
Showing
2 changed files
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters