Skip to content

Commit

Permalink
Implemented active checks, reverted test case, minor javadoc nit
Browse files Browse the repository at this point in the history
- Added ACTIVE checks to all routes in AdminSparkServer using VeniceParentControllerRegionStateHandler wrapper class
- Reverted CreateVersionTest to previous commit without ParentControllerRegionState.ACTIVE
- Removed some minor parentheses in ParentControllerRegionState
  • Loading branch information
bonytoni committed Jul 29, 2024
1 parent 20bd2e3 commit 8e492e1
Show file tree
Hide file tree
Showing 3 changed files with 310 additions and 118 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

/**
* Enum representing the state of the region where the parent controller resides.
* (i.e., Region dc-0 is ACTIVE while Region dc-1 is PASSIVE
* This means that ParentController in dc-0 is serving requests while ParentController in dc-1 is rejecting requests)
* i.e., Region dc-0 is ACTIVE while Region dc-1 is PASSIVE
* This means that ParentController in dc-0 is serving requests while ParentController in dc-1 is rejecting requests
*/
public enum ParentControllerRegionState {
/** The region is active, so the parent controller in the region is serving requests */
Expand Down
Loading

0 comments on commit 8e492e1

Please sign in to comment.