-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[PLAT-10879] Update StopNodeInUniverse task to new lock and freeze ta…
…sk changes Summary: Refactor StopNodeInUniverse task to accommodate new task freezing changes. Test Plan: Create a 3 node rf3 universe. Perform StopNodeInUniverse task. Make sure that this succeeds. Also try to simulate a validateParams failure on StopNodeInUniverse (Can set nodeDetails state to a different state, say "Removed" state. Check that we do not generate the task. Also tried to simulate under-replicated tablets and then tried to stop a node. The task should fail but should not freeze the universe. i.e. We should be able to perform other tasks afterwards. Reviewers: sanketh, nsingh Reviewed By: nsingh Subscribers: yugaware Differential Revision: https://phorge.dev.yugabyte.com/D30242
- Loading branch information
1 parent
c74f258
commit 5fbfa76
Showing
2 changed files
with
117 additions
and
116 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