forked from elastic/elasticsearch
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Encrypted Repo Test and RepositoriesService Logging (elastic#68469)…
… (elastic#68527) This test creates a strange situation when it restarts the two master nodes back to back without strong guarantees about whether or not the cluster has cleanly formed again. Since we really just want to make sure that the master is after the restart is actually running with the changed password, it seemed easiest to simply do a full restart rather than the current loop. Also, this commit fixes the logging around repository creation and deletion which made this hard to debug and by logging before a CS update has actually been processed would also log incorrectly. Lastly, I removed the now unnecessary hacks of using the generic pool on a node to fetch repository data. This logic is not needed any longer and the repository will now automatically use the correct thread under the hood. The hack effectively just adds another possible failure mode around node restarts since the generic pool quietly rejects tasks after shutdown. Closes elastic#67834
- Loading branch information
1 parent
211cd8e
commit eab1bda
Showing
3 changed files
with
28 additions
and
30 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
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