-
Notifications
You must be signed in to change notification settings - Fork 25k
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 (#68469)
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 #67834
- Loading branch information
1 parent
4b75c5a
commit f3446f5
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