Clean format for disabled instances in ClusterConfig (#2106)
authorxyuanlu <xyuanlu@gmail.com>
Mon, 6 Jun 2022 19:04:43 +0000 (12:04 -0700)
committerGitHub <noreply@github.com>
Mon, 6 Jun 2022 19:04:43 +0000 (12:04 -0700)
commitefd4ce0a14a60da1c2546cfafa32135c10349dbc
tree3b7f0bdf03f33106e5e4e67d5618e6a186f2cbf8
parent8860a16b1d9a86ae20f7a2e53fdb6a3a22c3cd45
Clean format for disabled instances in ClusterConfig (#2106)

We reverted enabling batch mode for instance enable/disable. This change hooks readData stage when controller starts in the first place and will clean up batch enabled field in cluster config.
This change should be reverted after next next version. (1.0.5.0 +)
helix-core/src/main/java/org/apache/helix/controller/dataproviders/BaseControllerDataProvider.java
helix-core/src/test/java/org/apache/helix/integration/TestBatchEnableInstances.java
helix-core/src/test/java/org/apache/helix/integration/controller/TestControllerLeadershipChange.java
helix-rest/src/test/java/org/apache/helix/rest/server/TestPerInstanceAccessor.java