Skip to content

Commit 8e492e1

Browse files
committed
Implemented active checks, reverted test case, minor javadoc nit
- 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
1 parent 20bd2e3 commit 8e492e1

File tree

3 files changed

+310
-118
lines changed

3 files changed

+310
-118
lines changed

services/venice-controller/src/main/java/com/linkedin/venice/controller/ParentControllerRegionState.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
/**
44
* Enum representing the state of the region where the parent controller resides.
5-
* (i.e., Region dc-0 is ACTIVE while Region dc-1 is PASSIVE
6-
* This means that ParentController in dc-0 is serving requests while ParentController in dc-1 is rejecting requests)
5+
* i.e., Region dc-0 is ACTIVE while Region dc-1 is PASSIVE
6+
* This means that ParentController in dc-0 is serving requests while ParentController in dc-1 is rejecting requests
77
*/
88
public enum ParentControllerRegionState {
99
/** The region is active, so the parent controller in the region is serving requests */

0 commit comments

Comments
 (0)