instance_id
stringlengths
10
65
repo
stringlengths
5
59
pr_number
int64
1
313k
task_type
stringclasses
1 value
base_commit
stringlengths
40
40
review_commit
stringlengths
40
40
title
stringlengths
2
282
body
stringlengths
7
3k
patch
stringlengths
202
204k
n_defects
int64
1
72
n_supported
int64
1
65
n_major
int64
0
32
defects
stringlengths
140
18.8k
certifier_count
int64
apache__helix__2015
apache/helix
2,015
defect
dff4708ea01929e9cdc60373d937ebbde8c705b6
a53d759169b89f6adfca99fb0abbe106c087c164
Refactor common string processing util
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2000 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: This change refactors common code to a util to be used in following change that does batch insta...
diff --git a/helix-common/src/main/java/org/apache/helix/HelixConfigStringProcessUtil.java b/helix-common/src/main/java/org/apache/helix/HelixConfigStringProcessUtil.java new file mode 100644 index 0000000000..455ec7f5b1 --- /dev/null +++ b/helix-common/src/main/java/org/apache/helix/HelixConfigStringProcessUtil.java @...
6
4
0
[{"id": "G0", "claim": "The newly added resetInstanceDisabledTypeAndReason method should be private instead of public.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new HelixConfigStringProcessUtil class should follow the common Java utility-class idi...
null
apache__helix__2032
apache/helix
2,032
defect
764d826d3351e6816d1cdd45f22faba31f21f132
f4612f3343d7aca8b12659e8231107e3ebf4d847
Code refactor and cleanup on instance validation
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: https://github.com/apache/helix/issues/2022 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: Cleanup the usage in checking instance enable/disable using Ins...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/dataproviders/BaseControllerDataProvider.java b/helix-core/src/main/java/org/apache/helix/controller/dataproviders/BaseControllerDataProvider.java index 3c705f4b9e..70acf31adb 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/dataprovider...
6
2
0
[{"id": "G0", "claim": "Since hasResourceAssigned is a public method, the reviewer asks to deprecate it and re-create the version without clusterId as an argument, and to rename it (e.g. hasResourceBeenAssigned() or isResourceAssigned()).", "category": "design", "verdict": "supported", "priority": "P2", "scope": "intro...
null
apache__helix__2035
apache/helix
2,035
defect
764d826d3351e6816d1cdd45f22faba31f21f132
543b41dbfee1caead9a78955d3735ec440e56b5e
MaintenanceManagementService improvement - Allow implementation of OperationInterface to return null
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2034 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: Maintenance Management service fails silently when user provided OperationInterface returns null ...
diff --git a/helix-rest/src/main/java/org/apache/helix/rest/clusterMaintenanceService/MaintenanceManagementInstanceInfo.java b/helix-rest/src/main/java/org/apache/helix/rest/clusterMaintenanceService/MaintenanceManagementInstanceInfo.java index 83b7fbc5f6..b03c5e31a6 100644 --- a/helix-rest/src/main/java/org/apache/hel...
3
2
0
[{"id": "G0", "claim": "Restructure mergeResult(MaintenanceManagementInstanceInfo, boolean) to return early with `if (info == null) { return; }` instead of repeated null guards, moving the status update before that check so status is updated independently.", "category": "design", "verdict": "supported", "priority": "P2...
null
apache__helix__2065
apache/helix
2,065
defect
fc35b5415e361432a6360efc58681bee4f62fdd4
db1a1f19e619b236e9e3bcdc16cbead45562689b
fix bug where generateJobList would iterate until the parallelism is reached
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: Fixes #2064 ### Description When there is a high level of parallelism configured and the JobDag is a job queue, building the ready job list would take a long time because the loop iterates until the level ...
diff --git a/helix-core/src/main/java/org/apache/helix/task/RuntimeJobDag.java b/helix-core/src/main/java/org/apache/helix/task/RuntimeJobDag.java index 24a17da8fe4..b8e256594e5 100644 --- a/helix-core/src/main/java/org/apache/helix/task/RuntimeJobDag.java +++ b/helix-core/src/main/java/org/apache/helix/task/RuntimeJob...
2
1
0
[{"id": "G0", "claim": "The switch from _readyJobList.size() > 0 to !_readyJobList.isEmpty() may be a mere style change that is unnecessary and could be skipped if it causes any problem.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The children ...
null
apache__helix__2073
apache/helix
2,073
defect
fc35b5415e361432a6360efc58681bee4f62fdd4
5fd9b3011bac7a4f32047f8d9c14fe33458fc08b
Fix race condition between instance drop and participant history update
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: Fix https://github.com/apache/helix/issues/1990 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: When an instance is dropped while its history is updated, it...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/dataproviders/BaseControllerDataProvider.java b/helix-core/src/main/java/org/apache/helix/controller/dataproviders/BaseControllerDataProvider.java index 70acf31adb..3841b96a72 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/dataprovider...
2
1
1
[{"id": "G0", "claim": "junkaixue questions why disconnect passes skipOnEmptyPath=true, saying that if the instance has been dropped between the zk connection disconnect and this call the history node would still be created/updated, and updating a non-existent path would be meaningless.", "category": "design", "verdict...
null
apache__helix__2099
apache/helix
2,099
defect
baf4e252035ec34c437a2d37b074585eed40e580
4112493329061bf3f48b701ce220a7207f074bd5
Allow using passed in connection config when reading cloud config
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2098 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: Helix is reading MultiZK config from jvm only when initiating ZkHelixManager. Helix should also ...
diff --git a/helix-core/src/main/java/org/apache/helix/HelixPropertyFactory.java b/helix-core/src/main/java/org/apache/helix/HelixPropertyFactory.java index fd302843cbb..4421d4f2347 100644 --- a/helix-core/src/main/java/org/apache/helix/HelixPropertyFactory.java +++ b/helix-core/src/main/java/org/apache/helix/HelixProp...
5
2
2
[{"id": "G0", "claim": "The supplied realmAwareZkConnectionConfig may not have everything populated that the default builder would populate.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The PR adds methods to handle the new helixManagerProperty pa...
null
apache__helix__2100
apache/helix
2,100
defect
baf4e252035ec34c437a2d37b074585eed40e580
1e381b422d8c7380bf00392ea0dafa4ab7fae7cb
Fix incompatible issue for clusterConfig mapfields disabledInstances
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2000 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: Batch enable/disable instance now will update 2 map fields, DISABLED_INSTANCES, and DISABLED_INSTANC...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/util/DelayedRebalanceUtil.java b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/util/DelayedRebalanceUtil.java index 41df150059..4f48b2f931 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/util/Dela...
5
3
1
[{"id": "G0", "claim": "A test case should be added to cover the new controller code parsing the old data format.", "category": "testing", "verdict": "uncertain", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Writing to both DISABLED_INSTANCES and DISABLED_INSTANCES_WITH_INFO raises the question of w...
null
apache__helix__2103
apache/helix
2,103
defect
450c47f77020f35dfae06e85dab31809a71f37fb
b6676d23339f4893d23bf17d925f77b107daf1ba
Add TTL and Container modes to RealmAwareZkClient and its implementations
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: Fixes #2081 ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: New API methods were added to `ZkClient` in #2082 and #2090 to support creation of ZNodes i...
diff --git a/zookeeper-api/src/main/java/org/apache/helix/zookeeper/api/client/RealmAwareZkClient.java b/zookeeper-api/src/main/java/org/apache/helix/zookeeper/api/client/RealmAwareZkClient.java index d0064203952..99874c7eb01 100644 --- a/zookeeper-api/src/main/java/org/apache/helix/zookeeper/api/client/RealmAwareZkCli...
4
2
0
[{"id": "G0", "claim": "As ZK open source keeps adding new features, the interface should not have to keep growing a matching set of API methods for each one.", "category": "design", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The new TTL/container create APIs added by this ...
null
apache__helix__2121
apache/helix
2,121
defect
c46a70f6376bb8a217ea3404b8586425314e866b
799b4c4601bed901edb70356a7fb6f5b46bb6c7a
Support register user defined CloudEventHandler when participant connect.
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2122 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: This change add an abstract class for CloudEventHandler and modified eventHandlerFactory to return...
diff --git a/helix-core/src/main/java/org/apache/helix/HelixCloudProperty.java b/helix-core/src/main/java/org/apache/helix/HelixCloudProperty.java index 326f87d8a7..db255b1a08 100644 --- a/helix-core/src/main/java/org/apache/helix/HelixCloudProperty.java +++ b/helix-core/src/main/java/org/apache/helix/HelixCloudPropert...
10
8
1
[{"id": "G0", "claim": "getInstance can be simplified to fetch the instance once, create and store the default when absent, and return once instead of doing two map lookups and two returns.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new ...
null
apache__helix__2127
apache/helix
2,127
defect
5909a8a363499489d545ff4ddf8464140f56076c
cf24b15b973c5bd3c1139f9568267c500c62464a
Add HelixEventHandlingUtil and use that util for cloud event - Add API
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2133 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: Previously helix event handling depends on batch enable/disable instance. We would like to move awa...
diff --git a/helix-core/src/main/java/org/apache/helix/cloud/event/HelixEventHandlingUtil.java b/helix-core/src/main/java/org/apache/helix/cloud/event/HelixEventHandlingUtil.java new file mode 100644 index 0000000000..d27865764c --- /dev/null +++ b/helix-core/src/main/java/org/apache/helix/cloud/event/HelixEventHandlin...
8
4
0
[{"id": "G0", "claim": "The new HelixEventHandlingUtil class should live under the org.apache.helix.cloud.event.helix package instead of org.apache.helix.cloud.event.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The utility methods and class should be ...
null
apache__helix__2149
apache/helix
2,149
defect
602f0813190ea72df80c1119bd969dc651c15f85
fb3bee13d61f85c61c3418e80b370a2eb4f6a051
implement util for cloud event
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2133 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: This change add implementation for HelixCloudEventUtil ### Tests - [X] The following tests ...
diff --git a/helix-core/src/main/java/org/apache/helix/cloud/event/helix/DefaultCloudEventCallbackImpl.java b/helix-core/src/main/java/org/apache/helix/cloud/event/helix/DefaultCloudEventCallbackImpl.java index d9aa3b2d12..140413b0a4 100644 --- a/helix-core/src/main/java/org/apache/helix/cloud/event/helix/DefaultCloudE...
11
7
1
[{"id": "G0", "claim": "Message generation should be wrapped in a static method instead of declaring string template fields, as it is more self-explanatory.", "category": "maintainability", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Something should be logged in the else bran...
null
apache__helix__2177
apache/helix
2,177
defect
3b28b4e6db980533a1db937fbc740ace28e3b5ec
7e4079463bb99849470b1dacbeb8ec0a04296ae4
Add TASK_THREADPOOL_RESET_TIMEOUT as system property
Allow users to specify reset timeout with system property. ### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: Fix https://github.com/apache/helix/issues/2175 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes:...
diff --git a/helix-common/src/main/java/org/apache/helix/SystemPropertyKeys.java b/helix-common/src/main/java/org/apache/helix/SystemPropertyKeys.java index 4fe651c5f3..3c133feec4 100644 --- a/helix-common/src/main/java/org/apache/helix/SystemPropertyKeys.java +++ b/helix-common/src/main/java/org/apache/helix/SystemPro...
1
1
0
[{"id": "G0", "claim": "The new system property value should be renamed from \"helixTask.threadpool.reset.timeout\" to \"helixTask.threadpool.resetTimeout\" to match the camel casing used by the other keys.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__helix__2189
apache/helix
2,189
defect
49aef7c54a7f93f119f0b921068235d3dd52cd25
124784a374f7153e2dcdd052866e0ce4a4757459
WAGED pipeline change
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: https://github.com/apache/helix/issues/2287 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: NOTE: no test or metrics are included in this PR due to PR siz...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/WagedRebalancer.java b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/WagedRebalancer.java index 7221b1e0a08..1851772172f 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/WagedReba...
12
7
1
[{"id": "G0", "claim": "Shut down the newly added best-possible calculation thread pool when the rebalancer is closed.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add logging to distinguish whether the async partial rebalance was interrupted or h...
null
apache__helix__2201
apache/helix
2,201
defect
5a4cfc71a5bca3e5d87bafc627eb3b571deb162d
bdf6a003cdc60dbc2b3848e61b50024dcdf0f53b
Removed Error Log to Avoid Spam Logging
Deleted logging error in `ZkClient` delete method to eliminate log noise. ### Issues https://github.com/apache/helix/issues/2202#issue-1357887240 References an issue where despite a successful retry, failure to remove a node still throws an error log. ### Description https://github.com/apache/helix/issues/...
diff --git a/helix-core/src/main/java/org/apache/helix/manager/zk/ZkBaseDataAccessor.java b/helix-core/src/main/java/org/apache/helix/manager/zk/ZkBaseDataAccessor.java index 0c7a94f1b6..41d2c9bccc 100644 --- a/helix-core/src/main/java/org/apache/helix/manager/zk/ZkBaseDataAccessor.java +++ b/helix-core/src/main/java/o...
8
6
1
[{"id": "G0", "claim": "The new test should also validate that the child ZNodes have actually been deleted.", "category": "testing", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test should not delete everything under the test root path, as touching other ZNodes may impac...
null
apache__helix__2219
apache/helix
2,219
defect
11b9fe851c2711eee3810983723da197c685b427
f2c98f72cec1fb9739f6d70a349bdcca1a26788e
Upgrade to zookeeper 3.6.3
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: Resolves #2220. ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: This commit includes several efforts in order to bump up zookeeper version: 1. Upgrade zook...
diff --git a/helix-core/helix-core-1.0.5-SNAPSHOT.ivy b/helix-core/helix-core-1.0.5-SNAPSHOT.ivy index 0a3ff82cd7a..c2bf7bb7a1a 100755 --- a/helix-core/helix-core-1.0.5-SNAPSHOT.ivy +++ b/helix-core/helix-core-1.0.5-SNAPSHOT.ivy @@ -52,7 +52,7 @@ under the License. <dependency org="org.apache.logging.log4j" name="...
3
1
0
[{"id": "G0", "claim": "Replace the magic numbers 110001, 110000, 110 and 1000 in testGetChildrenOnLargeNumChildren with named constants and multiplication, as in the for-loop.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks why...
null
apache__helix__2319
apache/helix
2,319
defect
0274d5a5f9df0429cdea90bcc91d032494b91f03
bf90e84898bce78ea723b483dcd63f447a68516c
Waged Pipeline Redesign
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: Fixes #2287 #2062 ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: This is a combined PR of https://github.com/apache/helix/pull/2189, https://github.co...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/AssignmentMetadataStore.java b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/AssignmentMetadataStore.java index dd502893e08..bc4120cb411 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/rebalancer...
2
2
1
[{"id": "G0", "claim": "The new _bestPossibleVersion field should be marked volatile so that all reads are guaranteed to get the latest value.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Add an empty line between the persistBestPossibleAssignment...
null
apache__helix__2335
apache/helix
2,335
defect
ea3ba246e380985b17f6b955e3323dc9b00b263a
82c38de88db51e54a52ddbd3dd2b897fd7d2c639
MetaClient - Implementation of Create from CRUD operations
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: #2237 ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: Implementing the create api as part of the basic CRUD operations for zkmetaclient. ### Tests ...
diff --git a/meta-client/src/main/java/org/apache/helix/metaclient/api/MetaClientInterface.java b/meta-client/src/main/java/org/apache/helix/metaclient/api/MetaClientInterface.java index 5118f6359ff..fa69887b2fa 100644 --- a/meta-client/src/main/java/org/apache/helix/metaclient/api/MetaClientInterface.java +++ b/meta-c...
5
5
0
[{"id": "G0", "claim": "The exists() implementation should be marked in the code as a temporary implementation for testing only.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A simple translator class (mode-to-mode helper) would be more helpful t...
null
apache__helix__2339
apache/helix
2,339
defect
34a74343f93f4e67c59ef33f75684f288a27cb23
57a14eef1fffdc00e837f6912bc23eba914a5424
Implement data change listener for ZkMetaClient and test
### Issues - [ ] My PR addresses the following Helix issues and references them in the PR description: ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: Implement the data change listener for ZkMetaClient. Mostly reuse the current native zkclient for event d...
diff --git a/meta-client/src/main/java/org/apache/helix/metaclient/impl/zk/ZkMetaClient.java b/meta-client/src/main/java/org/apache/helix/metaclient/impl/zk/ZkMetaClient.java index 35529454ae..b5aa27574c 100644 --- a/meta-client/src/main/java/org/apache/helix/metaclient/impl/zk/ZkMetaClient.java +++ b/meta-client/src/m...
3
2
0
[{"id": "G0", "claim": "The NotImplementedException message should say \"currently\" so it does not imply that non-persist (one-time) listeners will never be supported.", "category": "documentation", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "If ZkClient has a second variat...
null
apache__helix__2340
apache/helix
2,340
defect
fb773839117ee0689451fab7c8b949115f555100
9209fdd085cf2cafd4788cb89284fd7993d0d938
Add metrics for rebalance throttled because of error partition
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2341 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: This change adds metrics for rebalance throttled because of error partition. Including aggregated ...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/stages/IntermediateStateCalcStage.java b/helix-core/src/main/java/org/apache/helix/controller/stages/IntermediateStateCalcStage.java index a7622b1461..835b19be54 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/stages/IntermediateStateCa...
8
5
0
[{"id": "G0", "claim": "The test-only helper getResourceMonitor should not be widened from protected to public without a reason.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The metric field list in ResourceMonitor should keep the earlier one-metric-per-...
null
apache__helix__2353
apache/helix
2,353
defect
c18ed20122ea1ad7f382da5a7cd40ddf5b18bdd6
0501da03e88a21256d5491e25989dcd3915abdae
Implement direct child change listener in ZkMetaClient
### Issues - [ ] My PR addresses the following Helix issues and references them in the PR description: N.A. ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: This PR implements the direct child change listener in ZkMetaClient using the native ZkClient. The...
diff --git a/meta-client/src/main/java/org/apache/helix/metaclient/impl/zk/ZkMetaClient.java b/meta-client/src/main/java/org/apache/helix/metaclient/impl/zk/ZkMetaClient.java index 4fa0ca73b9e..142f21e9b0d 100644 --- a/meta-client/src/main/java/org/apache/helix/metaclient/impl/zk/ZkMetaClient.java +++ b/meta-client/src...
3
2
1
[{"id": "G0", "claim": "Since this API is not published, the subscribeDirectChildChange API should be changed (e.g. to separate persist & non-persist subscribe APIs) instead of taking a persistListener boolean option.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1",...
null
apache__helix__2354
apache/helix
2,354
defect
20683d48fe3d06170df7213dd06a737ab7ee9e36
a3e1ce80bab838300def9c05e533d413a04f17de
Implement zk Meta client async crud
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2237 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: This PR adds implementation to async CRUD operation in ZkMetaClient. Refactor test code - add a tes...
diff --git a/meta-client/src/main/java/org/apache/helix/metaclient/api/AsyncCallback.java b/meta-client/src/main/java/org/apache/helix/metaclient/api/AsyncCallback.java index 1e7c1eb75c..ae7aed59b9 100644 --- a/meta-client/src/main/java/org/apache/helix/metaclient/api/AsyncCallback.java +++ b/meta-client/src/main/java/...
7
4
2
[{"id": "G0", "claim": "API documentation (javadoc) should be added for the new serialize/deserialize methods in MetaClientInterface, like the other APIs in this interface.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The handle() line makes mul...
null
apache__helix__2380
apache/helix
2,380
defect
b7c62b5346d50e20f0b40ef463ed0663aad9e1ac
a49368bcfefd690dba17475a12e8e7b69dc0eb8c
Refactor updating and searching for threadpool for state transition messages
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: Resolves #2379 ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: This commit adds a MessageInfo sub-class in Message class, which can help managing the pa...
diff --git a/helix-core/src/main/java/org/apache/helix/messaging/handling/HelixTaskExecutor.java b/helix-core/src/main/java/org/apache/helix/messaging/handling/HelixTaskExecutor.java index b21a065a92..2ddea80890 100644 --- a/helix-core/src/main/java/org/apache/helix/messaging/handling/HelixTaskExecutor.java +++ b/helix...
4
4
2
[{"id": "G0", "claim": "Combining the per-resource and per-transition-type checked sets into one key set changes the existing threadpool update/search logic, so the change should not be called a refactor and the original scheme should be kept (\"Let's refactor it with minimum changes\").", "category": "design", "verdic...
null
apache__helix__2390
apache/helix
2,390
defect
97cb118fd6cfcaf3a50a304c790486f646897cda
4afdae388137ccd663d03cb401677aeb98518164
Add API for users to provide customized threadpool for different categories of state transition messages
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: Resolves #2389 ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: Currently we have MessageInfo for categorizing messages, this commit adds one more proper...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/stages/IntermediateStateCalcStage.java b/helix-core/src/main/java/org/apache/helix/controller/stages/IntermediateStateCalcStage.java index 835b19be54..d16d6df4ce 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/stages/IntermediateStateCa...
6
4
1
[{"id": "G0", "claim": "The null-check in getSTRebalanceType can be inlined with the return on line 678 instead of a multi-line if block.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "The order of the switch cases in getMessageIdentifier() does...
null
apache__helix__2401
apache/helix
2,401
defect
b395e434d8d9a36616a86878d0df9b84e10ac078
8de225a200935f779948dd357c67b4fd2dd1f51a
TTL Node Lattice Implementation
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: https://github.com/apache/helix/issues/2237 ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: Implementing TTL node create and renew methods. The `expiry_...
diff --git a/meta-client/src/main/java/org/apache/helix/metaclient/api/MetaClientInterface.java b/meta-client/src/main/java/org/apache/helix/metaclient/api/MetaClientInterface.java index 433184de6e..979e038579 100644 --- a/meta-client/src/main/java/org/apache/helix/metaclient/api/MetaClientInterface.java +++ b/meta-cli...
2
2
1
[{"id": "G0", "claim": "The reviewer suggests implementing renewTTLNode instead of leaving it throwing NotImplementedException, deferring only the TTL expiry check to a later TODO.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G2", "claim": "The reviewer suggests...
null
apache__helix__2429
apache/helix
2,429
defect
dcdae4e47c9f60c024034bfa12dec58b4d2920c0
fd0ca84fe1d3a50fbaf83e12bb783e92f6f2c81e
MetaClient LockInfo Object Implementation
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: https://github.com/apache/helix/issues/2237 ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: Implementing the LockInfo object for MetaClient LockClient t...
diff --git a/meta-client/src/main/java/org/apache/helix/metaclient/recipes/lock/LockInfo.java b/meta-client/src/main/java/org/apache/helix/metaclient/recipes/lock/LockInfo.java new file mode 100644 index 00000000000..6115f9ff2d7 --- /dev/null +++ b/meta-client/src/main/java/org/apache/helix/metaclient/recipes/lock/Lock...
6
5
3
[{"id": "G0", "claim": "Accepting a serialized string for clientData is fine, but the author should analyse more known use cases and check whether it could cause a large overhead on using the lock client.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The ...
null
apache__helix__2447
apache/helix
2,447
defect
2b35383208625eff0ca6730a2923393c955c649d
b1f4e1d14c6bc78879427e61398a00b1b02ded2a
WAGED rebalance overwrite redesign -- part 2
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: Resolves https://github.com/apache/helix/issues/2441 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: This PR Integreates the redesigned minActiveReplica...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/util/DelayedRebalanceUtil.java b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/util/DelayedRebalanceUtil.java index 65b1431e4e..6742afb648 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/util/Dela...
7
2
1
[{"id": "G0", "claim": "junkaixue asks whether the recomputed newAssignment passed into mergeAssignments contains only the single messed-up replica or the entire reassigned partition map, preferring the input contain just the replicas that need reassignment.", "category": "correctness", "verdict": "uncertain", "priorit...
null
apache__helix__2470
apache/helix
2,470
defect
7667bb117c625a98d30f87e6652e471871414ef0
89bb8d3961febf54a0847bea9a8665bf758d4424
code clean up - debug log format
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #1521 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: We no longer need to do isDebugEnabled check in slf4j.Logger. It is already had performance improv...
diff --git a/helix-agent/src/main/java/org/apache/helix/agent/AgentStateModel.java b/helix-agent/src/main/java/org/apache/helix/agent/AgentStateModel.java index ca17ac96e9..59a9d493db 100644 --- a/helix-agent/src/main/java/org/apache/helix/agent/AgentStateModel.java +++ b/helix-agent/src/main/java/org/apache/helix/agen...
7
6
1
[{"id": "G0", "claim": "Remove the `if (_logger.isDebugEnabled())` wrapper around the debug log statement in AgentStateModel.genericStateTransitionHandler.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "Remove the `if (LOG.isDebugEnabled())` w...
null
apache__helix__2493
apache/helix
2,493
defect
9d5b82e66ed99bc00f0398b658fa04c1beee7c0a
2bcb9431e802633ddb682690a89d7a29a72604c5
Waged - Hard constraint - Fix for n - n+1 issue.
### Issues - [ ] My PR addresses the following Helix issues and references them in the PR description: Fixes #2468 (partial) ### Description - [] Here are some details about my PR, including screenshots of any UI changes: Waged - Constraint based algorithm has few corner cases where the hard-constraint is not ...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/dataproviders/InstanceCapacityDataProvider.java b/helix-core/src/main/java/org/apache/helix/controller/dataproviders/InstanceCapacityDataProvider.java new file mode 100644 index 00000000000..ce550de330e --- /dev/null +++ b/helix-core/src/main/java/org/ap...
20
13
4
[{"id": "G0", "claim": "The capacity data provider should be pure/stateless, with isInstanceCapacityAvailable and reduceAvailableInstanceCapacity and the stateful cache moved to a separate manager class.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "creat...
null
apache__helix__2497
apache/helix
2,497
defect
2568f4a37a497ade21d9d680d2d0e094600bebd2
3539c72dbc8bd472b969540f27a87f8f1bc3d256
Add support for pluggable external CloudInfoProcessor and CustomizedCloudProperties
## Summary Add support for pluggable external CloudInfoProcessor and CustomizedCloudProperties. <!-- ### Issues - [ ] My PR addresses the following Helix issues and references them in the PR description: (#200 - Link your issue number here: You can write "Fixes #XXX". Please use the proper keyword so that ...
diff --git a/1 b/1 new file mode 100644 index 00000000000..e69de29bb2d diff --git a/helix-core/src/main/java/org/apache/helix/manager/zk/ParticipantManager.java b/helix-core/src/main/java/org/apache/helix/manager/zk/ParticipantManager.java index 741e5c4d8e8..89a8e209186 100644 --- a/helix-core/src/main/java/org/apache/...
2
2
1
[{"id": "G0", "claim": "The branching that selects the cloud info processor class should live where the type is selected instead of constructing a class path inside ParticipantManager.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The custom CloudInstan...
null
apache__helix__2506
apache/helix
2,506
defect
6c53496ed9c6e17e7759e745be2163eb81f6cc72
2b9447da9548ef9929685aed8b2dea0a1ea733c1
ZkClient add recursive persist listener implementation
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2237 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: This change adds recursive persist listener implementation to ZkClient and it is consumed by ZkMeta...
diff --git a/meta-client/src/main/java/org/apache/helix/metaclient/impl/zk/ZkMetaClient.java b/meta-client/src/main/java/org/apache/helix/metaclient/impl/zk/ZkMetaClient.java index 7941debaaa..cb0a4b3f06 100644 --- a/meta-client/src/main/java/org/apache/helix/metaclient/impl/zk/ZkMetaClient.java +++ b/meta-client/src/m...
12
10
1
[{"id": "G0", "claim": "The stale '// TODO: add impl and remove UnimplementedException' comment above subscribeChildChanges can be removed now that the implementation exists.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "subscribePersistRecursive...
null
apache__helix__2520
apache/helix
2,520
defect
7aafc9d55fc447d392692995e3bdb58415a1b86c
9d40a27774046c5cb3d4b733434faf543269f750
MetaClient Distributed Semaphore API and Permit object
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: https://github.com/apache/helix/issues/2237 ### Description Distributed Semaphore API. The implementation will come as a separate pull request. The permit object acts as a ticket or ownership of a semapho...
diff --git a/meta-client/src/main/java/org/apache/helix/metaclient/recipes/lock/DistributedSemaphore.java b/meta-client/src/main/java/org/apache/helix/metaclient/recipes/lock/DistributedSemaphore.java new file mode 100644 index 0000000000..a6e96ca031 --- /dev/null +++ b/meta-client/src/main/java/org/apache/helix/metacl...
3
2
1
[{"id": "G0", "claim": "Add parameter descriptions (@param) to the Javadoc of the new constructors.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The constructor API should be restructured: there should be a constructor that takes an existing cli...
null
apache__helix__2546
apache/helix
2,546
defect
eb8d27f7fb4f4993bf266409f45f6f151304b651
d60b1a3070b2db8dbd29f4aa0a010bf98e16d0c6
WAGED - Part 2 - Fix the core calculation for n - n+1 issue.
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: Fixes #2493 ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: This change is focused on changes to core logic where during assigning the STATE to the insta...
diff --git a/1 b/1 deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/helix-core/src/main/java/org/apache/helix/controller/dataproviders/InstanceCapacityDataProvider.java b/helix-core/src/main/java/org/apache/helix/controller/dataproviders/InstanceCapacityDataProvider.java index ce550de330..9fedcbe529 1...
8
6
2
[{"id": "G0", "claim": "The interface method reduceAvailableInstanceCapacity must not be deleted from InstanceCapacityDataProvider if it was already shipped in a previous release.", "category": "design", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The new computeBestPossibleSt...
null
apache__helix__2548
apache/helix
2,548
defect
d2023a706a63e82409ad1fff34e4feab89e15486
21cef54c70399e81941c4a6277b0f69cba3d0158
MultiThreading Stress Test Lattice - CRUD and Listener Puppies and Tests (Part 2)
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: https://github.com/apache/helix/issues/2237 ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: The implementation of CRUD operations and Listener puppies a...
diff --git a/meta-client/src/test/java/org/apache/helix/metaclient/impl/zk/TestMultiThreadStressTest/CreatePuppy.java b/meta-client/src/test/java/org/apache/helix/metaclient/impl/zk/TestMultiThreadStressTest/CreatePuppy.java new file mode 100644 index 00000000000..14753abf560 --- /dev/null +++ b/meta-client/src/test/ja...
3
2
0
[{"id": "G0", "claim": "The two GetPuppy print statements that precede the success message (the invalid-path attempt and the attempting-to-read message) should include the current timestamp, as the success print already does.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduce...
null
apache__helix__2558
apache/helix
2,558
defect
6c7cc20332ef76c7f36f388e39392b77cd56a8c1
4facdc4b3de0afd9c63d177562d8160831075d84
Metaclient leader election - basics
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2237 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: This PR introduce basic Leader election API - join/leave leader election pool etc. ### Tests - [...
diff --git a/meta-client/src/main/java/org/apache/helix/metaclient/api/OpResult.java b/meta-client/src/main/java/org/apache/helix/metaclient/api/OpResult.java index effed85433..e3621190a2 100644 --- a/meta-client/src/main/java/org/apache/helix/metaclient/api/OpResult.java +++ b/meta-client/src/main/java/org/apache/heli...
9
6
0
[{"id": "G0", "claim": "DataRecord should be kept loosely coupled instead of extending ZNRecord directly.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "pre_existing"}, {"id": "G1", "claim": "The TODO at the top of DataRecord.java that says an interface should be used should be removed.", "...
null
apache__helix__2578
apache/helix
2,578
defect
a12865cb225cbf8af3b481a65796449096c2f5dd
9711f92eb3ad603de2c9a452aa0d9472b492d1c0
WAGED - bugs fixes in n - n + 1
### Issues - [ ] My PR addresses the following Helix issues and references them in the PR description: ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: WAGED n - n+1 - adds the logic whether to filter out the host from map-field of idealState if the host does...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/WagedInstanceCapacity.java b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/WagedInstanceCapacity.java index 1b878dbb39..d9bdaf8796 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged...
2
2
1
[{"id": "G0", "claim": "A shared WAGED test base class with basic beforeClass, afterClass and other setups should be created instead of duplicating setup code across several WAGED tests; for this PR the reviewer says to keep it as is and do the base class for future changes.", "category": "maintainability", "verdict": ...
null
apache__helix__2580
apache/helix
2,580
defect
c6890faa13acee0ce9ec51a1fde70eebb3ee48e5
345d8034cccf179f70d76487ea1c51083c7f5c40
Lattice LockClient LockInfoSerializer Implementation
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: LockClient currently uses ZNRecord serializer. Abstracting away any zookeeper specifics and keeping the code easier to understand, LockInfoSerializer is created to serialize and deserialize the LockInfo object u...
diff --git a/meta-client/src/main/java/org/apache/helix/metaclient/recipes/lock/LockClient.java b/meta-client/src/main/java/org/apache/helix/metaclient/recipes/lock/LockClient.java index 480e87c30a..a186f3d812 100644 --- a/meta-client/src/main/java/org/apache/helix/metaclient/recipes/lock/LockClient.java +++ b/meta-cli...
1
1
1
[{"id": "G0", "claim": "super.deserialize(bytes) in LockInfoSerializer.deserialize could fail (e.g. return null or throw on invalid bytes), causing an exception when creating the DataRecord; the reviewer asks whether to throw it or catch it.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope"...
null
apache__helix__2585
apache/helix
2,585
defect
9b4f33cf2636cf0f726abd91692d616467cce190
1ffb46a192801681d5af98a6e3420ce1e9ce2898
Leader election client - Proactively send leader gone event when disconnect from ZK
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2237 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: MetaClient may get disconnected from underlying storage and get reconnected before session expire...
diff --git a/meta-client/src/main/java/org/apache/helix/metaclient/recipes/leaderelection/LeaderElectionClient.java b/meta-client/src/main/java/org/apache/helix/metaclient/recipes/leaderelection/LeaderElectionClient.java index 7b13778c0d..29bd2b59be 100644 --- a/meta-client/src/main/java/org/apache/helix/metaclient/rec...
3
2
0
[{"id": "G0", "claim": "Add the missing space in `try{` in relinquishLeaderHelper (formatting nit).", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Fix the formatting that puts two closing brackets on the catch line (`}} catch`) in relinquishLead...
null
apache__helix__2601
apache/helix
2,601
defect
85bbe47d1555d5886cbdfa701f0005e0ab0ad327
87524205ec00736f3f113ab7be06fc214a08b30c
Add on-demand rebalance API
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: - #2594 (#200 - Link your issue number here: You can write "Fixes #XXX". Please use the proper keyword so that the issue gets closed automatically. See https://docs.github.com/en/github/managing-your-work-on-g...
diff --git a/helix-rest/src/main/java/org/apache/helix/rest/server/resources/AbstractResource.java b/helix-rest/src/main/java/org/apache/helix/rest/server/resources/AbstractResource.java index 76733b92a13..48b467eaac1 100644 --- a/helix-rest/src/main/java/org/apache/helix/rest/server/resources/AbstractResource.java +++...
1
1
1
[{"id": "G0", "claim": "The newly added cluster-existence check before the command switch may cause an issue for the activate command; the reviewer asks what the response is when the cluster isn't activated.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__helix__2604
apache/helix
2,604
defect
85bbe47d1555d5886cbdfa701f0005e0ab0ad327
d67d2aaba453f6bf3f362405e0b116cce9d18abf
Algo change for evacuation
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2589 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: When user tag to be removed host, Helix will proactively move replicas to other hosts in N -> N+1 ma...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/util/DelayedRebalanceUtil.java b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/util/DelayedRebalanceUtil.java index 92556bb400..a5e32196b4 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/util/Dela...
6
6
0
[{"id": "G0", "claim": "The getActiveNodes javadoc should be updated to say that evacuating nodes are not considered active.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The javadoc of the IdealState-overloaded getActiveNodes should also be upda...
null
apache__helix__2618
apache/helix
2,618
defect
2ffb585574b432476ae14e2cfe014c266e1fc292
a32779bef8233686fafaa10a337dbd8235d48c05
Add supporting APIs for evacuation
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: #2589 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: This change add 2 APIs. isEvacuateFinished Return if instance operation 'Evacuate' is finis...
diff --git a/helix-core/src/main/java/org/apache/helix/HelixAdmin.java b/helix-core/src/main/java/org/apache/helix/HelixAdmin.java index 14863f57e7..03cbea5ec8 100644 --- a/helix-core/src/main/java/org/apache/helix/HelixAdmin.java +++ b/helix-core/src/main/java/org/apache/helix/HelixAdmin.java @@ -738,4 +738,15 @@ Map<...
6
6
4
[{"id": "G0", "claim": "Add javadoc for the newly added API methods: the isEvacuateFinished javadoc's @return tag is empty and the second added method has no javadoc at all.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "isEvacuateFinished should ...
null
apache__helix__2619
apache/helix
2,619
defect
0555e9307ac7df3c71e991cb0ebe2244b34cfdf0
0b47a2472f19b2248abc977cdf29d37c15be8917
Lattice Cache - Caching Just Data Implementation
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: https://github.com/apache/helix/issues/2237 ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: This PR includes all the implementation of the dataCache Map...
diff --git a/meta-client/src/main/java/org/apache/helix/metaclient/api/MetaClientCacheInterface.java b/meta-client/src/main/java/org/apache/helix/metaclient/api/MetaClientCacheInterface.java index 348bd09292..6449970bb8 100644 --- a/meta-client/src/main/java/org/apache/helix/metaclient/api/MetaClientCacheInterface.java...
4
3
1
[{"id": "G0", "claim": "Cache-change events should be handled on a separate thread so that a flood of events cannot block user requests.", "category": "performance", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "Explore whether Map.computeIfAbsent could replace the explicit co...
null
apache__helix__2622
apache/helix
2,622
defect
0922e1f2f67c48abb3dc6adf86bfd91813bb62cd
eeec32ee38404ddf21b23f444ccd84c7881c088a
Support persist instance info collected by CloudInstanceInformationProcessor during auto-reg
Add support to persist all instance information collected by CloudInstanceInformationProcessor in CloudInstanceInformation object. Add ability for CloudInstanceInformationProcessor to produce full DOMAIN field instead of appending _instanceName unless last character in CloudInstanceInformation.CloudInstanceField.FAULT_...
diff --git a/helix-core/src/main/java/org/apache/helix/api/cloud/CloudInstanceInformationV2.java b/helix-core/src/main/java/org/apache/helix/api/cloud/CloudInstanceInformationV2.java new file mode 100644 index 0000000000..66dd212794 --- /dev/null +++ b/helix-core/src/main/java/org/apache/helix/api/cloud/CloudInstanceIn...
2
2
0
[{"id": "G0", "claim": "Add comments to the new CloudInstanceInformationV2 interface explaining what it is and why it is named V2.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The hard-coded endsWith(\"=\") string match on FAULT_DOMAIN should be...
null
apache__helix__2635
apache/helix
2,635
defect
38ac277c46db4d06d845caa6d2633a8e882b2e03
9bac5a9964a69e2524a1e8f75d01b2ad6ac42830
Fix CurrentStateComputationStage when mis configure.
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2636 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: Helix pipeline fail when instance does not have correctly configured capacity. Even if there is no...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/WagedInstanceCapacity.java b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/WagedInstanceCapacity.java index 29ecf451d9..2453632e62 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged...
3
2
1
[{"id": "G0", "claim": "Returning early on HelixException leaves instances out of _instanceCapacityMap, which can cause a null pointer exception when capacity is later charged; instead each instance should still be added to the map (e.g. with an empty or defaulted capacity map) and the behavior revisited via a TODO.", ...
null
apache__helix__2668
apache/helix
2,668
defect
5f1a3f716ec71178f2f1f98c2ef48c62d6285df5
9a977c0375e11ae7869acaae7b9d4c75c33beaaf
[WIP] Fix NPE in intermediate state calculation stage
### Issues - [ ] My PR addresses the following Helix issues and references them in the PR description: ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: Helix Pipeline failed in IntermediateStateCalc stage as user reduced the NUM_PARTITION in IdealState wh...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/stages/IntermediateStateCalcStage.java b/helix-core/src/main/java/org/apache/helix/controller/stages/IntermediateStateCalcStage.java index 00c49ad918..ec17b620c9 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/stages/IntermediateStateCa...
1
1
1
[{"id": "G0", "claim": "In computeIntermediatePartitionState, a partition whose preference list is null (or empty) must not simply be skipped with continue, since that leaves its messages un-throttled; instead the required-state computation should proceed passing 0 (as getRequiredStates already handles a null list) rat...
null
apache__helix__2680
apache/helix
2,680
defect
9f4000611c9aa59b9bbd65d2d50667237e278535
56854ed6cbe7095670b4a003c9852874dea09430
Implement the cross-zone-based stoppable check
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2655 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: - Implement the cross-zone-based stoppable check. - Add to_be_stopped_instances parameter in the AP...
diff --git a/helix-core/src/main/java/org/apache/helix/util/InstanceValidationUtil.java b/helix-core/src/main/java/org/apache/helix/util/InstanceValidationUtil.java index fdbf7dd1a0..e34e9e6fb4 100644 --- a/helix-core/src/main/java/org/apache/helix/util/InstanceValidationUtil.java +++ b/helix-core/src/main/java/org/apa...
11
7
5
[{"id": "G0", "claim": "A javadoc should be added explaining what the to-be-stopped instances are.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The change breaks backward compatibility because a user can have no zone selected and let the system ...
null
apache__helix__2687
apache/helix
2,687
defect
4552f87e57dc22de34807887eeefa4e7fde00f5d
17ab9df50985fda2e48118871ccb725d85e5e0b0
Implement node evacuation filtering during checks and add blacklist for stoppable checks
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2655 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: - Add support to filter out evacuating nodes during stoppable checks: - `siblingNodesActiveReplicaC...
diff --git a/helix-core/src/main/java/org/apache/helix/util/InstanceValidationUtil.java b/helix-core/src/main/java/org/apache/helix/util/InstanceValidationUtil.java index 5f179e784e..6c542ab7bd 100644 --- a/helix-core/src/main/java/org/apache/helix/util/InstanceValidationUtil.java +++ b/helix-core/src/main/java/org/apa...
10
8
3
[{"id": "G0", "claim": "The new isOperationSetForInstance check only covers evacuation; the reviewer asks why it does not also cover disabled instances.", "category": "correctness", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "A trailing newline should be added at the end of th...
null
apache__helix__2694
apache/helix
2,694
defect
7f2a88df1b4af8718f1d0ae1e085db8aaa62650a
646f23dfb4878b3ca5c561a95d3a8adf82e3eea9
Expose Evacuate Finished API in Helix-Rest
### Issues - [ ] My PR addresses the following Helix issues and references them in the PR description: isEvacuateFinished API not available in helix-rest ### Description - [ ] Here are some details about my PR, including screenshots of any UI changes: Expose isEvacuateFinished API in helix-rest. setInsta...
diff --git a/helix-rest/src/main/java/org/apache/helix/rest/server/resources/AbstractResource.java b/helix-rest/src/main/java/org/apache/helix/rest/server/resources/AbstractResource.java index 48b467eaac1..a9e523cd407 100644 --- a/helix-rest/src/main/java/org/apache/helix/rest/server/resources/AbstractResource.java +++...
1
1
1
[{"id": "G0", "claim": "The new isEvacuateFinished endpoint should return its result as JSON, like all the existing APIs, rather than as pure text, with HTTP return code 200 whenever the request was successfully processed.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__helix__2698
apache/helix
2,698
defect
7f2a88df1b4af8718f1d0ae1e085db8aaa62650a
1e9b66040d54fb6697c3a86fa735cd9dedfd5f8b
Fix helix-lock regression
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: - This PR mainly addresses the recent behavior regression of helix-lock (#200 - Link your issue number here: You can write "Fixes #XXX". Please use the proper keyword so that the issue gets closed automatically...
diff --git a/helix-lock/src/main/java/org/apache/helix/lock/LockInfo.java b/helix-lock/src/main/java/org/apache/helix/lock/LockInfo.java index 19132c208e..91b9ecfbea 100644 --- a/helix-lock/src/main/java/org/apache/helix/lock/LockInfo.java +++ b/helix-lock/src/main/java/org/apache/helix/lock/LockInfo.java @@ -168,7 +16...
4
2
1
[{"id": "G0", "claim": "A test case should be added where a user creates a lock with the old default priority (-1) and then re-acquires or releases it, to verify it works for customers who have been using the broken code.", "category": "testing", "verdict": "uncertain", "priority": "P2", "scope": "introduced"}, {"id": ...
null
apache__helix__2724
apache/helix
2,724
defect
d75104683d43c6d9b8dd0f49853aa1d383621420
93189f0ec2a8d7695ddf80187ab84a9fa84f15cf
Extend CustomizedStateProvider APIs
### Issues - [x] CustomizedStateProvider APIs only allow operations at a per partition level on a single instance. If a user wants to completely wipe a customizedState for a given resource or for all resources using this API, they currently need to implement logic to identify all relevant partitions and then delete ...
diff --git a/helix-core/src/main/java/org/apache/helix/customizedstate/CustomizedStateProvider.java b/helix-core/src/main/java/org/apache/helix/customizedstate/CustomizedStateProvider.java index 55117d05a8..69afc07c2a 100644 --- a/helix-core/src/main/java/org/apache/helix/customizedstate/CustomizedStateProvider.java ++...
2
1
0
[{"id": "G0", "claim": "Asks whether a deletePerPartitionCustomizedState API already existed, questioning whether the pull request's new delete functionality duplicates an existing API.", "category": "design", "verdict": "opposed", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Add a description of wh...
null
apache__helix__2736
apache/helix
2,736
defect
5455135115926dc260d377fdaebf48a2d5d818c3
dc32bd45e154cd7731141acfbbca200d912dd815
Implement 'StoppableCheck' Flag to Ensure Maintenance Mode is Avoided After Stoppable Instances are Shutdown
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: - #2655 (#200 - Link your issue number here: You can write "Fixes #XXX". Please use the proper keyword so that the issue gets closed automatically. See https://docs.github.com/en/github/managing-your-work-on-...
diff --git a/helix-rest/src/main/java/org/apache/helix/rest/clusterMaintenanceService/StoppableInstancesSelector.java b/helix-rest/src/main/java/org/apache/helix/rest/clusterMaintenanceService/StoppableInstancesSelector.java index 877aaa9c89..3605ea2e6e 100644 --- a/helix-rest/src/main/java/org/apache/helix/rest/cluste...
5
3
2
[{"id": "G0", "claim": "The selector should still treat an instance as stoppable when allowedOfflineInstances equals 0 (the boundary should be == 0 rather than > 0), instead of failing it.", "category": "correctness", "verdict": "opposed", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "When continueOn...
null
apache__helix__2739
apache/helix
2,739
defect
8cfe977b5905b2199f8ce77238bf896816524277
46d537f7d2ed917844931c5063c5002676d24bca
Fix /partitionAssignmentAPI and WAGED rebalancer finalMapping results matching
### Issues - [x] PartitionAssignmentAPI returns incorrect finalMapping when changes are applied and real pipeline computes ### Description It was reported that the helix-rest partitionAssignmentAPI was returning an incorrect finalMapping. When the changes simulated were applied, the finalMapping generated by...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/dataproviders/BaseControllerDataProvider.java b/helix-core/src/main/java/org/apache/helix/controller/dataproviders/BaseControllerDataProvider.java index 9120bd9622..6fe1c7fc3b 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/dataprovider...
3
1
0
[{"id": "G0", "claim": "The PR's removal of _assignableDisabledInstanceSet should be reverted or its missing reset on cache refresh addressed, because not clearing it left stale disabled-instance state so WagedCapacityProvider did not charge pending messages against the capacity of instances that went offline at some p...
null
apache__helix__2742
apache/helix
2,742
defect
3cd22a33332f277e9e68c7341a0a89f54ff46aee
499ca3a84335e335f0b0eef8602532d0c3d76bff
Allow partitionAssignment API in maintenance mode
### Issues Currently we do not return a partitionAssignment result if the cluster is in maintenance mode. Allowing this would enable customers to make a series of changes to their cluster while in maintenance and then query the partitionAssignment one single time to get the expected assignments, without each chang...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/stages/BestPossibleStateCalcStage.java b/helix-core/src/main/java/org/apache/helix/controller/stages/BestPossibleStateCalcStage.java index 05652e222d..f9c9fee704 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/stages/BestPossibleStateCa...
2
2
0
[{"id": "G0", "claim": "There is a missing newline between the createCrushedResource method and the following @Test annotation.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The comment line '// is identical to the idealStates calculated by the...
null
apache__helix__2752
apache/helix
2,752
defect
43e8db2f7a6d2571c38a501448b322fa31b1c748
4379a2aab2e278e7d521e4a916db20e67b082d31
Expose addListener and support listening on single instance config
### Issues - [x] Ask to have a participant side callback when and InstanceOperation is set to SWAP_IN or cleared ### Description Add an InstanceConfigChange listener for single instance config. It will receive callback for the given participants instance config only. Using this, the user will be able to config...
diff --git a/helix-core/src/main/java/org/apache/helix/HelixManager.java b/helix-core/src/main/java/org/apache/helix/HelixManager.java index 4ce3ff9adee..d924e0f9e13 100644 --- a/helix-core/src/main/java/org/apache/helix/HelixManager.java +++ b/helix-core/src/main/java/org/apache/helix/HelixManager.java @@ -34,6 +34,7 ...
6
5
2
[{"id": "G0", "claim": "The newly added empty method setupInstanceConfigChangeHandler is not used anywhere and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The test testMarkEvacuationAfterEMM(org.apache.helix.integration.reb...
null
apache__helix__2755
apache/helix
2,755
defect
1ef505356f1ba01c039a578048681dc375c2d224
2557d827c9c769a9c170b3376e2ccd4a711abd8d
Allow Evac + Add swap capability in HelixAdmin and SWAP behavior changes for offline or disabled SWAP_OUT node
### Issues - [x] Add ability to use Evac + Add to swap instances with same logicalId - [x] Add ability to complete swap when swap out instance goes offline or is disabled - [x] Don't have downward ST on SWAP_IN node when SWAP_OUT goes offline or is disabled (Only allow when replica is dropped from SWAP_OUT during ...
diff --git a/helix-core/src/main/java/org/apache/helix/HelixAdmin.java b/helix-core/src/main/java/org/apache/helix/HelixAdmin.java index f53b886e2b..021332be7a 100644 --- a/helix-core/src/main/java/org/apache/helix/HelixAdmin.java +++ b/helix-core/src/main/java/org/apache/helix/HelixAdmin.java @@ -771,10 +771,11 @@ Map...
1
1
0
[{"id": "G0", "claim": "The comments describing the swap-in/swap-out state assignment in BestPossibleStateCalcStage should be updated to match the new logic (a nit).", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__helix__2759
apache/helix
2,759
defect
7c86f4a5cf6eab730c4d265bc82d92262f820335
926ab5bc7723288eaceb93c32e459114a556c988
Delete expected version
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: N/A ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: ZooKeeper allows for calling delete with an expected version, where the znode will only be deleted if ...
diff --git a/helix-core/src/main/java/org/apache/helix/BaseDataAccessor.java b/helix-core/src/main/java/org/apache/helix/BaseDataAccessor.java index 110b6810efb..b9749b29da9 100644 --- a/helix-core/src/main/java/org/apache/helix/BaseDataAccessor.java +++ b/helix-core/src/main/java/org/apache/helix/BaseDataAccessor.java...
4
3
1
[{"id": "G0", "claim": "The javadoc of the newly added remove(path, options, expectedVersion) does not document what the -1 expectedVersion sentinel does; add a comment about the -1 behavior.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new ...
null
apache__helix__2770
apache/helix
2,770
defect
7ba774fa264cdf929791f830563542c6b3df4674
53f1fd8d53bee594cde11a2f907b59f2653079ed
Add ZK multi set with updater to ZKBaseDataAccesor
### Issues - [x] Add ZK multi set with updated to ZKBaseDataAccesor. Allows for version based transactional sets. ### Description This will be used to transactionally update the InstanceOperations of 2 swapping instances in a cluster. It will ensure no more than 1 instance per logicalId can ever hold an assi...
diff --git a/helix-core/src/main/java/org/apache/helix/BaseDataAccessor.java b/helix-core/src/main/java/org/apache/helix/BaseDataAccessor.java index 110b6810ef..162ffb05d2 100644 --- a/helix-core/src/main/java/org/apache/helix/BaseDataAccessor.java +++ b/helix-core/src/main/java/org/apache/helix/BaseDataAccessor.java @...
2
2
2
[{"id": "G0", "claim": "The failure-handling code should cover the version-mismatch (BADVERSION) update failure case.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "The code should catch specific exceptions rather than a blanket Exception so differe...
null
apache__helix__2776
apache/helix
2,776
defect
7b724aa06ac3fb1c64db81892287f9864e44f5c2
fb0d112e40185dbeaebbd03f11c96d4ce63ed773
Fix BestPossibleExternalViewVerifier to use a ZkClient that has the serializer set to ByteArraySerializer
- Fix BestPossibleExternalViewVerifier to use a ZkClient that has the serializer set to ByteArraySerializer so it can read the assignment meta store best possible state. - Fix BestPossibleExternalViewVerifier to actually calculate BEST_POSSIBLE instead of returning last persisted to ZK because we now need to consider ...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/AssignmentManager.java b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/AssignmentManager.java index 475e8aad14b..8cb089cb9e0 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/Assig...
1
1
0
[{"id": "G0", "claim": "The reviewer questions why the computeBestPossibleAssignment override in DryrunWagedRebalancer needs to be removed by this pull request.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__helix__2778
apache/helix
2,778
defect
7c4301b115bbad44a09b199a84abcc2c238858a0
821d3f61afd2a78baf2e431c22f3bcde8e451a3a
[apache/helix] -- Fix PreferenceList Ordering Changes during Maintenance Mode
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: Fixes #2777 ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: When entering maintenance-mode, we observed that instance order in preference list changes by Prefer...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/MaintenanceRebalancer.java b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/MaintenanceRebalancer.java index 9f04de5350..67d3c5ae7d 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/MaintenanceRebala...
5
4
0
[{"id": "G0", "claim": "A debug main() method has no reason to be in MaintenanceRebalancer and should be removed.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The added state-priority sort may not help, since the original problem was that the ...
null
apache__helix__2792
apache/helix
2,792
defect
c480eac018932214886aaf55f3c28107d46e84b0
f08bc86e23883085c14aa08a2a47651a45833cbe
[apache/helix] -- Add SetPartitionToError for participants to self annotate a node to ERROR state
### Issues Fixes #2791 ### Description What: An API endpoint that validates the incoming request and sends a state transition message to sets one or more partitions from any current state to ERROR state. Why: Currently, the participants are unable to set a partition to an ERROR state explicitly when they...
diff --git a/helix-core/src/main/java/org/apache/helix/HelixAdmin.java b/helix-core/src/main/java/org/apache/helix/HelixAdmin.java index 021332be7a6..e5ce10109b9 100644 --- a/helix-core/src/main/java/org/apache/helix/HelixAdmin.java +++ b/helix-core/src/main/java/org/apache/helix/HelixAdmin.java @@ -415,6 +415,17 @@ vo...
6
5
1
[{"id": "G0", "claim": "Since the new HelixAdmin method takes a list of partitionNames it should be named setPartitionsToError rather than setPartitionToError (the reviewer also asks whether it is a private method).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id"...
null
apache__helix__2805
apache/helix
2,805
defect
9e25ab5772e523406196a5c6da531ac557f4d1ef
089b78ff5d24d1e657cdb859109f7a60c82f7f3e
Metaclient updater retry logic
### Issues - [ ] My PR addresses the following Helix issues and references them in the PR description: Retry logic for metaclient updater ### Description - [ ] Here are some details about my PR, including screenshots of any UI changes: Metaclient updater currently does not retry on no node or version mis...
diff --git a/meta-client/src/main/java/org/apache/helix/metaclient/impl/zk/ZkMetaClient.java b/meta-client/src/main/java/org/apache/helix/metaclient/impl/zk/ZkMetaClient.java index 16d28c6d7a..97d677ed5d 100644 --- a/meta-client/src/main/java/org/apache/helix/metaclient/impl/zk/ZkMetaClient.java +++ b/meta-client/src/m...
3
3
3
[{"id": "G0", "claim": "The new updater changes the existing update() behavior by retrying on failure; the reviewer asks for another API with a shouldRetry argument so callers can opt in, with the old API defaulting to no retry (and the javadoc clarifying that default).", "category": "design", "verdict": "supported", "...
null
apache__helix__2814
apache/helix
2,814
defect
3055f26aa4f040f549ca91581fc6b2ff6b275f33
ec051ea0efaa8d6204c08c22ddecab9da3394842
Fix race condition when reconnect
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2815 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: User reporting that when they make heap dump on an app that uses leader election client for lead...
diff --git a/meta-client/src/main/java/org/apache/helix/metaclient/recipes/leaderelection/LeaderElectionClient.java b/meta-client/src/main/java/org/apache/helix/metaclient/recipes/leaderelection/LeaderElectionClient.java index ae7d9c9fab..48a64a61d8 100644 --- a/meta-client/src/main/java/org/apache/helix/metaclient/rec...
2
2
2
[{"id": "G0", "claim": "The connect-state-change handling that recreates participant nodes on reconnect should be made idempotent.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim": "A test should be added covering the reconnect handling that recreates p...
null
apache__helix__2817
apache/helix
2,817
defect
49c29dc4821b7671b752f701addd96ba85c19ab0
dd067eb3031173c007329a4569b513abb978d6bb
Change partitionAssignment API to handle ANY_LIVEINSTANCE
### Issues - [ ] My PR addresses the following Helix issues and references them in the PR description: #2816 partitionAssignment fails to calculate when there is FULL_AUTO resource that has `ANY_LIVEINSTANCE` for replica count. ### Description partitionAssignment fails due to `Integer.parseInt(idealState.ge...
diff --git a/helix-core/src/main/java/org/apache/helix/model/IdealState.java b/helix-core/src/main/java/org/apache/helix/model/IdealState.java index aafcca89b5..de1dd6a622 100644 --- a/helix-core/src/main/java/org/apache/helix/model/IdealState.java +++ b/helix-core/src/main/java/org/apache/helix/model/IdealState.java @...
1
1
0
[{"id": "G0", "claim": "Check whether other places in the code that call getReplicas() and parse it as an int handle the ANY_LIVEINSTANCE value rather than risking a NumberFormatException.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}]
null
apache__helix__2829
apache/helix
2,829
defect
bf20e2a424e1d99407e2ec7700447177c596e746
08100f7e9018049e5782cd57e19405ea72a5485e
[apache/helix] -- Added detail in the Exception message for WAGED rebalance (hard constraint) failures.
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: Fixes #2828 ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: Currently, when WAGED rebalancer encounters failure due to hard constraint (say insufficient c...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/constraints/ConstraintBasedAlgorithm.java b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/constraints/ConstraintBasedAlgorithm.java index 60d43764a47..c8a12751e2a 100644 --- a/helix-core/src/main/java/org/apache/h...
5
5
2
[{"id": "G0", "claim": "The pull request should not change the HardConstraint class and constraint interface (e.g. isAssignmentValid's return type and the failure-reason data structures) for this; error details can be captured or printed directly without altering the API.", "category": "design", "verdict": "supported",...
null
apache__helix__2844
apache/helix
2,844
defect
cf6a202c5ef7ce0819c11938eeeab37263d02307
4652265f9738a43861f760c6a7a35eb1041d6d66
Implement GatewayServiceManager
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: resolve #2821 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: This PR implements GatewayServiceManager. ### Tests - [X] The following tests are w...
diff --git a/helix-gateway/src/main/java/org/apache/helix/gateway/constant/GatewayServiceEventType.java b/helix-gateway/src/main/java/org/apache/helix/gateway/constant/GatewayServiceEventType.java new file mode 100644 index 00000000000..5ae32e40fdc --- /dev/null +++ b/helix-gateway/src/main/java/org/apache/helix/gatewa...
15
10
3
[{"id": "G0", "claim": "The gRPC service's observer and cluster maps are accessed from concurrent gRPC callback threads without synchronization, so the check-then-act around updateObserver may cause a race condition if the class is meant to be thread safe.", "category": "correctness", "verdict": "supported", "priority"...
null
apache__helix__2848
apache/helix
2,848
defect
6850e09cf380a2e5088ea429cf6ffbcfc2593159
ac29c87c0513b4f6088132e15e4fdeec530bc7db
Add support for ALL_RESOURCES key to disabled partitions
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: With the recent changes to InstanceOperation, Helix allows users to set their instances to DISABLE where all partitions are gracefully transited to the offline state. Likewise, customers can also disable specifi...
diff --git a/helix-common/src/main/java/org/apache/helix/constants/InstanceConstants.java b/helix-common/src/main/java/org/apache/helix/constants/InstanceConstants.java index 22f6c7c76f..df6c37bb61 100644 --- a/helix-common/src/main/java/org/apache/helix/constants/InstanceConstants.java +++ b/helix-common/src/main/java...
3
3
3
[{"id": "G0", "claim": "The test should also assert that no further downward state transitions are received after ALL_RESOURCES partitions are disabled on an already evacuated node, since all partitions should already be dropped.", "category": "testing", "verdict": "supported", "priority": "P1", "scope": "introduced"},...
null
apache__helix__2868
apache/helix
2,868
defect
b87f2ead6a9854f698764aaa77ecc3dc2b6942bb
c451fd9f05fce0bb7853b1518411a5aa26d37ace
Implement HelixGatewayParticipant disconnect
### Issues - [x] Implement helix manager disconnect and client disconnect handling for HelixGatewayParticipant. ### Tests - [x] testGatewayParticipantDisconnectGracefully - [x] testGatewayParticipantDisconnectWithError ### Changes that Break Backward Compatibility (Optional) NA ### Documentation (O...
diff --git a/helix-gateway/src/main/java/org/apache/helix/gateway/participant/HelixGatewayParticipant.java b/helix-gateway/src/main/java/org/apache/helix/gateway/participant/HelixGatewayParticipant.java index 6405529603..9c053ab886 100644 --- a/helix-gateway/src/main/java/org/apache/helix/gateway/participant/HelixGatew...
1
1
0
[{"id": "G0", "claim": "In HelixGatewayParticipant, the HelixManager variable should be named helixManager instead of participantManager, since there is a ParticipantManager class.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__helix__2869
apache/helix
2,869
defect
eda45fc58f4e6fd19a96eb6bcf33f0e7813e0a53
527ccf043c9b1e4cc3672f6ff34e18c13de57eab
Fix flaky testDisableErrorLogByDefault
### Issues - [ ] My PR addresses the following Helix issues and references them in the PR description: https://github.com/apache/helix/issues/2818 testDisableErrorLogByDefault in TestStatusUpdateUtil failing intermittently ### Description - [ ] Here are some details about my PR, including screenshots of an...
diff --git a/helix-core/src/main/java/org/apache/helix/util/StatusUpdateUtil.java b/helix-core/src/main/java/org/apache/helix/util/StatusUpdateUtil.java index 55b6dfef98..0c20a691ca 100644 --- a/helix-core/src/main/java/org/apache/helix/util/StatusUpdateUtil.java +++ b/helix-core/src/main/java/org/apache/helix/util/Sta...
1
1
1
[{"id": "G0", "claim": "Add a new publishErrorRecord overload taking a boolean logToZK flag and holding all existing logic, with the old API delegating to it while passing ERROR_LOG_TO_ZK_ENABLED, instead of gating on the static flag inside the existing method.", "category": "design", "verdict": "supported", "priority"...
null
apache__helix__2877
apache/helix
2,877
defect
0be53f4922d9ae7c663fc9fbb9449562466629d8
d044703b4a457ea946cdac09b9da42d73b9a85dc
Fix Empty IdealState Calculation with Disabled Nodes in AutoRebalance…
…Strategy ### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: - #2876 (#200 - Link your issue number here: You can write "Fixes #XXX". Please use the proper keyword so that the issue gets closed automatically. See https://docs.github.com/en/github/managing-y...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/strategy/AutoRebalanceStrategy.java b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/strategy/AutoRebalanceStrategy.java index 68279c81f3..587888f51e 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/rebalancer...
3
3
1
[{"id": "G0", "claim": "Separate the logic changes from the style/refactoring changes (split the PR into fix + refactor) so it is easier to review and track change history.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "When an instance is disab...
null
apache__helix__2883
apache/helix
2,883
defect
e2a06c5446c0cfdab7800d269f9450c5448204e4
4ad4baf6e0afee73a92a488120990e5f2a054a38
Create Gateway service channel factory
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2821 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: This PR introduces a new configuration system for the Helix Gateway service, allowing for more flex...
diff --git a/helix-gateway/src/main/java/org/apache/helix/gateway/HelixGatewayMain.java b/helix-gateway/src/main/java/org/apache/helix/gateway/HelixGatewayMain.java index b4b8ca0cbe..8abe3769ae 100644 --- a/helix-gateway/src/main/java/org/apache/helix/gateway/HelixGatewayMain.java +++ b/helix-gateway/src/main/java/org/...
9
9
1
[{"id": "G0", "claim": "The gRPC server port hardcoded as 50051 in main should be passed in as an argument instead.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The new defaults class GatewayServiceDefaultConfig should be named Constant or Keys rather ...
null
apache__helix__2886
apache/helix
2,886
defect
e1799b40e19e71218b188a2c12c6fc6ca7580ba1
fcb9d834baf1bc9aefa45ce3d9163fd132f6da5c
Change stoppable to perform min active check sequentially in mz
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: #2885 Helix stoppable does not account for multiple replicas in the same fault zone. This can occur during instance operations such as swap but also as a result of the issue linked above. ### Description ...
diff --git a/helix-rest/src/main/java/org/apache/helix/rest/clusterMaintenanceService/HealthCheck.java b/helix-rest/src/main/java/org/apache/helix/rest/clusterMaintenanceService/HealthCheck.java index 992fe767c2..d1e7d5e5b7 100644 --- a/helix-rest/src/main/java/org/apache/helix/rest/clusterMaintenanceService/HealthChec...
5
5
2
[{"id": "G0", "claim": "M001 asks why MIN_ACTIVE_REPLICA_CHECK_FAILED is kept in the enum but filtered out of STOPPABLE_CHECK_LIST instead of simply removed from the enum; M006 asks that the enum value be kept for backward compatibility and instead excluded (via removeAll-style removal) before calling getInstanceHealth...
null
apache__helix__2888
apache/helix
2,888
defect
0f13d92679607f3f78d83ee9d7e491c1f47d8e4c
4db77acd03d23dc788e42c7bbb4b90f427901696
Move existing assignments usage calculation to pre-process stage
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: resolves #2822 ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: One of the key steps of sticky rebalance strategy is to populate the previous node usage ...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/dataproviders/ResourceControllerDataProvider.java b/helix-core/src/main/java/org/apache/helix/controller/dataproviders/ResourceControllerDataProvider.java index 74b5aa8b2e..7f55f24676 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/data...
4
3
0
[{"id": "G0", "claim": "Avoid the lambda/stream in populateSimpleCapacitySetUsage and use a for loop instead, because lambdas are slower and create many temporary objects.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The reviewer asks whether upda...
null
apache__helix__2892
apache/helix
2,892
defect
dad8c8cd24a0129081581a370dc6f6ece78a4ba2
2300722076859dcb2db37729eaa67616b0973bf7
Gateway - User report their shards' current state instead of state transition message
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2821 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: This pull request (PR) implements changes to the Helix Gateway service, focusing on improving the...
diff --git a/helix-gateway/src/main/java/org/apache/helix/gateway/api/service/HelixGatewayServiceChannel.java b/helix-gateway/src/main/java/org/apache/helix/gateway/api/service/HelixGatewayServiceChannel.java index 02c0e8a8d7..c37f30aa12 100644 --- a/helix-gateway/src/main/java/org/apache/helix/gateway/api/service/Heli...
1
1
0
[{"id": "G0", "claim": "The method signature is confusing: if the payload is a Helix state transition it should carry the target state as a state transition message, and if it is a Gateway-manager-to-channel command it should not be called a message.", "category": "design", "verdict": "supported", "priority": "P2", "sc...
null
apache__helix__2894
apache/helix
2,894
defect
321f4ebba76290181f7e0877080745e611f7a059
e5f9ae856dae268c33330a19ee433a66fc40072d
Consider fault zones when sorting combinedPreferenceList
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: Fixes #2885 ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: When determining which replica to drop between 2 replicas that are not in the preference list...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/AbstractRebalancer.java b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/AbstractRebalancer.java index 477ef2032c..7bfdeca696 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/AbstractRebalancer.java...
2
2
2
[{"id": "G0", "claim": "The pull request should not modify the existing public PreferenceListNodeComparator constructor signature; instead add a new constructor with the cache while keeping the old one delegating to it so callers are not broken.", "category": "design", "verdict": "supported", "priority": "P1", "scope":...
null
apache__helix__2895
apache/helix
2,895
defect
69e69ec11776135a8fa100c2659f522effd880bf
418e57f275281f1b3b35bb97f0fbddf5abba77c4
Gateway - Add GatewayCurrentStateCache for gateway service
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2821 ### Description This pull request introduces a caching mechanism for the Helix Gateway service. The main changes include: 1. Addition of a new `GatewayCurrentStateCache` class in `GatewayCurrentS...
diff --git a/helix-gateway/src/main/java/org/apache/helix/gateway/service/GatewayServiceManager.java b/helix-gateway/src/main/java/org/apache/helix/gateway/service/GatewayServiceManager.java index cceabc8874..0835a90485 100644 --- a/helix-gateway/src/main/java/org/apache/helix/gateway/service/GatewayServiceManager.java...
7
5
1
[{"id": "G0", "claim": "ConcurrentHashMap is expensive here; suggests using regular maps with synchronization on the update methods (or even key-level locking) and no locking on the read path.", "category": "performance", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The diff ...
null
apache__helix__2898
apache/helix
2,898
defect
321f4ebba76290181f7e0877080745e611f7a059
b95c02e19b9d17336fdf09f6583e9b53f427940d
Add functionality to forcefully kill an instance
### Issues - [ ] My PR addresses the following Helix issues and references them in the PR description: N/A - New feature to forcefully kill an instance ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: This PR adds a new feature, a HelixAdmin and Helix-rest...
diff --git a/helix-core/src/main/java/org/apache/helix/HelixAdmin.java b/helix-core/src/main/java/org/apache/helix/HelixAdmin.java index f20f729331..373fcac113 100644 --- a/helix-core/src/main/java/org/apache/helix/HelixAdmin.java +++ b/helix-core/src/main/java/org/apache/helix/HelixAdmin.java @@ -844,4 +844,20 @@ defa...
3
2
1
[{"id": "G0", "claim": "The javadoc should carry a warning that besides the session timeout, users need to handle an instance that no longer has a live node properly.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The single-argument overload shou...
null
apache__helix__2910
apache/helix
2,910
defect
c30987dd5478bd48b5d393c17343c481921df4a4
c4d57789cc284e92b3b641384c07dd4725746507
Gateway - gateway participant update target state in cache
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: https://github.com/apache/helix/issues/2821 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: Gateway participant will update cache target state Improve lo...
diff --git a/helix-gateway/pom.xml b/helix-gateway/pom.xml index 52c21d5995..7b3f3ab6b4 100644 --- a/helix-gateway/pom.xml +++ b/helix-gateway/pom.xml @@ -43,9 +43,9 @@ </organization> <properties> - <protobuf.version>3.25.3</protobuf.version> - <protoc.version>3.25.3</protoc.version> - <grpc.version>1...
3
2
0
[{"id": "G0", "claim": "The private helper method getCache in GatewayServiceManager is poorly named and should be renamed to convey that it also creates a cache instance when none exists (e.g. getCacheInstance / getOrCreateCacheInstance).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope...
null
apache__helix__2919
apache/helix
2,919
defect
e36d2c412d22008a045d9840a5b3cd97490a3746
52cdd2e3f005de52d3dc29518e26766ba3025974
Support aggregated endpoint for customized stoppable check
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2918 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: * This PR supports the aggregated customized stoppable check. * When configuring the RESTConfig wit...
diff --git a/helix-core/src/main/java/org/apache/helix/model/RESTConfig.java b/helix-core/src/main/java/org/apache/helix/model/RESTConfig.java index 90b1c85cf3..602b8ae083 100644 --- a/helix-core/src/main/java/org/apache/helix/model/RESTConfig.java +++ b/helix-core/src/main/java/org/apache/helix/model/RESTConfig.java @...
6
5
1
[{"id": "G0", "claim": "The aggregated stoppable check uses clusterId in some places and cluster_name in others, so the payload key naming should be made consistent (use clusterId all the time).", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Ren...
null
apache__helix__2922
apache/helix
2,922
defect
e15c9d278edcb8d0c86d21fd2d86050efc5c94ef
bfbd2a0e252e4c0e2bb4e2672760eb03965bbb21
Add an end to end test for helix gateway
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2821 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: This change add e2e test and fix some bugs ### Tests - [X] The following tests are written fo...
diff --git a/helix-gateway/src/main/java/org/apache/helix/gateway/channel/HelixGatewayServicePollModeChannel.java b/helix-gateway/src/main/java/org/apache/helix/gateway/channel/HelixGatewayServicePollModeChannel.java index 3acd9e83bd..77caf0c17f 100644 --- a/helix-gateway/src/main/java/org/apache/helix/gateway/channel/...
2
2
0
[{"id": "G0", "claim": "Remove the extra space before \"String\" in the translateCurrentStateDiffToInitConnectEvent signature.", "category": "style", "verdict": "supported", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Remove the extra space before \"String\" in the other translate method signatures...
null
apache__helix__2932
apache/helix
2,932
defect
04a2400eef4b32945c2f40ff947b3b29719d4658
de79199af3b29f056c27831475f18bacb0d62061
Add auto deregistration of offline participants after timeout
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: New feature for allowing controller to purge participants that have been offline for greater than user defined timeout. ### Description - [x] Here are some details about my PR, including screenshots of any U...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/GenericHelixController.java b/helix-core/src/main/java/org/apache/helix/controller/GenericHelixController.java index c641b4d71f2..bdd72615208 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/GenericHelixController.java +++ b/helix-core/s...
10
10
5
[{"id": "G0", "claim": "Participant deregistration should reuse the existing on-demand rebalance mechanism (the same timer / existing pipeline scheduling) instead of adding a separate deregistration timer, Task class, and pipeline.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}...
null
apache__helix__2944
apache/helix
2,944
defect
b8393ae90a7b615d74238589fdf2cecd66ddc47e
27080a5be352e4900d82bbac0663b87f37aa97e9
Make StickyRebalanceStrategy topology aware
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: resolves #2822 ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: Previous StickyRebalanceStrategy leverage greedy approach for assignment. This PR make it...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/common/CapacityNode.java b/helix-core/src/main/java/org/apache/helix/controller/common/CapacityNode.java index 208ee79139..8c54513be7 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/common/CapacityNode.java +++ b/helix-core/src/main/jav...
8
7
1
[{"id": "G0", "claim": "The getFaultZone() javadoc says '@return The ID of this node' when it should say the method returns the fault zone.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "When no fault zone type can be found, computeFaultZone shoul...
null
apache__helix__2960
apache/helix
2,960
defect
8c94db950113c98344a0ef2f5b32f56bef3bb1f0
17944d492c7b0a28150f9583c2ac0a3b0d554a51
Fix helix-rest memory leak
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: - #2959 (#200 - Link your issue number here: You can write "Fixes #XXX". Please use the proper keyword so that the issue gets closed automatically. See https://docs.github.com/en/github/managing-your-work-on-g...
diff --git a/helix-rest/src/main/java/org/apache/helix/rest/client/CustomRestClientImpl.java b/helix-rest/src/main/java/org/apache/helix/rest/client/CustomRestClientImpl.java index 09783c8dd1..e393d38ba0 100644 --- a/helix-rest/src/main/java/org/apache/helix/rest/client/CustomRestClientImpl.java +++ b/helix-rest/src/ma...
1
1
0
[{"id": "G0", "claim": "Use EntityUtils.consumeQuietly instead of EntityUtils.consume to release the redirect response entity.", "category": "correctness", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__helix__2961
apache/helix
2,961
defect
8c94db950113c98344a0ef2f5b32f56bef3bb1f0
6f89e11d0dfaae919318d35c7d1a1f5a6f731a64
Support Stoppable Check for Non-Topology-Aware Clusters
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: #2893 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: * Add a new selection base: NON_TOPO_BASED. In this scenario, the order of the zone will not be respec...
diff --git a/helix-rest/src/main/java/org/apache/helix/rest/clusterMaintenanceService/StoppableInstancesSelector.java b/helix-rest/src/main/java/org/apache/helix/rest/clusterMaintenanceService/StoppableInstancesSelector.java index bb5a2bc5c4..039ec26ed9 100644 --- a/helix-rest/src/main/java/org/apache/helix/rest/cluste...
7
5
1
[{"id": "G0", "claim": "The non-topology stoppable check should include instances whose instance operation is EVACUATE, UNKNOWN, or SWAP_IN in the to-be-stopped set, so a replica on such an instance does not allow another enabled instance to be reported stoppable.", "category": "correctness", "verdict": "supported", "p...
null
apache__helix__2969
apache/helix
2,969
defect
762e045b0f7bb7fa0d9ebc23e0a9c087fd95a99a
88df65a61b7b78e5dd63a3692091ab2687cf180d
Fix waged instance capacity npe on new resource
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: NPE occurs for first WAGED resource in cluster after previous WAGED resources have been removed #2891 ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: Fu...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/stages/CurrentStateComputationStage.java b/helix-core/src/main/java/org/apache/helix/controller/stages/CurrentStateComputationStage.java index da972d682c..2d41aaff70 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/stages/CurrentStateCom...
2
1
0
[{"id": "G0", "claim": "Merge the two nested ifs in handleResourceCapacityCalculation into one condition, since the resourceMap null/empty check is already made inside skipCapacityCalculation.", "category": "maintainability", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Have ...
null
apache__helix__2972
apache/helix
2,972
defect
d8366de5fe0d242e9ac86dc32d8cd378192d38b3
7391e6ebaf49e82977bc1213b1cd5123d79cab61
Fix is Instance enabled
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2975 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: Helix deprecated the HELIX_ENABLED and added a new InstanceOperation field. If an instance is dis...
diff --git a/helix-core/src/main/java/org/apache/helix/model/InstanceConfig.java b/helix-core/src/main/java/org/apache/helix/model/InstanceConfig.java index 1b3acd68d6..c90efb6a38 100644 --- a/helix-core/src/main/java/org/apache/helix/model/InstanceConfig.java +++ b/helix-core/src/main/java/org/apache/helix/model/Insta...
2
1
0
[{"id": "G0", "claim": "The new comment's terminology is ambiguous and should be clarified: does 'InstanceEnabled' in the comment refer to 'HELIX_ENABLED'?", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "Consider writing the overridden ENABLE insta...
null
apache__helix__2974
apache/helix
2,974
defect
d8366de5fe0d242e9ac86dc32d8cd378192d38b3
c60cfb881f700d36a319b3fa82fd1690022f6c0d
Fix NPE in IntermedaiteStateCalcStage
### Issues - [ ] My PR addresses the following Helix issues and references them in the PR description: #2973 ### Description - [ ] Here are some details about my PR, including screenshots of any UI changes: NPE can occur during `IntermedaiteStateCalcStage` Details can be found in the issue page #2973 ...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/stages/IntermediateStateCalcStage.java b/helix-core/src/main/java/org/apache/helix/controller/stages/IntermediateStateCalcStage.java index ba2e16018f..306025691f 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/stages/IntermediateStateCa...
1
1
0
[{"id": "G0", "claim": "Use `else if` instead of a nested inner `if` statement inside the `else` branch when checking that the state map contains the partition key.", "category": "maintainability", "verdict": "supported", "priority": "P3", "scope": "introduced"}]
null
apache__helix__2986
apache/helix
2,986
defect
33a28e761b9dd8d1ac790121a0dcae55f30e07f4
0cc761d2acee9e79d27bde5cd156be329992d7ce
Support zone based virtual topology assignment algorithm
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #2985 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: This PR support zone based virtual topology assignment algorithm. In the rest service, introduced a ...
diff --git a/helix-core/src/main/java/org/apache/helix/cloud/constants/VirtualTopologyGroupConstants.java b/helix-core/src/main/java/org/apache/helix/cloud/constants/VirtualTopologyGroupConstants.java index d97173a9ad..0232a71590 100644 --- a/helix-core/src/main/java/org/apache/helix/cloud/constants/VirtualTopologyGrou...
3
2
1
[{"id": "G0", "claim": "The new constant should be named ASSIGNMENT_ALGORITHM_TYPE rather than ASSIGNMENT_ALGORITHM.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The documentation of the new algorithm's signature should provide an example.", "...
null
apache__helix__2987
apache/helix
2,987
defect
33a28e761b9dd8d1ac790121a0dcae55f30e07f4
78b525999c5ec326c73319df99ec98536aa96ac8
Support preserving history of HELIX_ENABLED legacy fields when combo of instance operation and old helix version are used
### Issues - [x] Support preserving history of HELIX_ENABLED legacy fields when combo of instance operation and old helix version are used ### Description When the new instance operation APIs are used, we need to consider that an older version of helix could have been used to modify the legacy fields of HELI...
diff --git a/helix-common/src/main/java/org/apache/helix/constants/InstanceConstants.java b/helix-common/src/main/java/org/apache/helix/constants/InstanceConstants.java index df6c37bb610..21d8b8a3103 100644 --- a/helix-common/src/main/java/org/apache/helix/constants/InstanceConstants.java +++ b/helix-common/src/main/ja...
8
3
1
[{"id": "G0", "claim": "Reviewer questions whether setInstanceOperationHelper should substitute DISABLE operations in the list with ENABLE when the current operation is ENABLE, whether ENABLE should be written back when HELIX_ENABLED is true and the operation list is not ENABLE, and whether the two `operation.getOperat...
null
apache__helix__2993
apache/helix
2,993
defect
33a28e761b9dd8d1ac790121a0dcae55f30e07f4
c05ed51ad43242c066909fa780869882dbbba2cd
Exclude Custom Checks When Instance Is Not Alive
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: #2992 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: This PR helps skiping instances/partition/aggregated custom checks if the instance is not alive. It a...
diff --git a/helix-rest/src/main/java/org/apache/helix/rest/clusterMaintenanceService/MaintenanceManagementService.java b/helix-rest/src/main/java/org/apache/helix/rest/clusterMaintenanceService/MaintenanceManagementService.java index 925b2d2169..e450d0e963 100644 --- a/helix-rest/src/main/java/org/apache/helix/rest/cl...
3
3
1
[{"id": "G0", "claim": "The new skipCustomChecksIfNoLiveness option should not be a query param (the URL gets very long and has backward-compatibility issues); it should be part of the request payload instead.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}, {"id": "G1", "claim"...
null
apache__helix__2998
apache/helix
2,998
defect
6703d58be882e8cccbbf40786f7e24781c05da10
d86fc7ad3934e73e533c3f223f40b5a88a8af0c7
Fixing the flaky topology migration check and ConstrainBasedAlgorith replicaHash computation
### Issues - [x] fixes https://github.com/apache/helix/issues/2945 - [x] Fix ConstrainBasedAlgorithm global shuffling when only updating on instance tag groups DOMAIN - [x] Fix a incorrect condition in swap impl to avoid adding state value of null to stateMap of bestPossibleAssignment ### Description Fixing ...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/constraints/ConstraintBasedAlgorithm.java b/helix-core/src/main/java/org/apache/helix/controller/rebalancer/waged/constraints/ConstraintBasedAlgorithm.java index e7510987a12..59ca3d8584c 100644 --- a/helix-core/src/main/java/org/apache/h...
1
1
0
[{"id": "G0", "claim": "Add a comment explaining why the list of instances (assignable nodes for the replica's instance group tag) is used when computing the replica hash.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__helix__3026
apache/helix
3,026
defect
f87d948598b33de0788653c2438307bf089dece6
45c2a5f5b04fde52800c880018fedc49bbac27a6
Add cluster config update validation
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #3025 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: Adding the sanity checks for the cluster topology changes. When the user enables the topology aware, ...
diff --git a/helix-rest/src/main/java/org/apache/helix/rest/server/resources/helix/ClusterAccessor.java b/helix-rest/src/main/java/org/apache/helix/rest/server/resources/helix/ClusterAccessor.java index cb56d009cf..fe9d2a52af 100644 --- a/helix-rest/src/main/java/org/apache/helix/rest/server/resources/helix/ClusterAcce...
2
1
1
[{"id": "G0", "claim": "When cluster config validation fails, the API should return information back to the user about which instance configs are incompatible.", "category": "design", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The validation must not assume the old config is ...
null
apache__helix__3031
apache/helix
3,031
defect
f87d948598b33de0788653c2438307bf089dece6
74b627ebf9d7c03623eb9bf8fec6308e29a00c7b
Fix virtual topology string computation
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #3030 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: Fix the problem where the virtual topology string doesn't carry over the correct topology after updat...
diff --git a/helix-core/src/main/java/org/apache/helix/model/ClusterTopologyConfig.java b/helix-core/src/main/java/org/apache/helix/model/ClusterTopologyConfig.java index f7ae740c18..f5d4b6c6c9 100644 --- a/helix-core/src/main/java/org/apache/helix/model/ClusterTopologyConfig.java +++ b/helix-core/src/main/java/org/apa...
1
1
1
[{"id": "G0", "claim": "The new replaceFaultZoneInTopologyString method in ClusterTopologyConfig throws IllegalArgumentException, which would be unacceptable if the method is used in the main pipeline; the reviewer asks where it is used.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introd...
null
apache__helix__3034
apache/helix
3,034
defect
6997f5afe745ae920f0c6edce21b604211fb44d1
9a3f83cca9a273eb5eccae5a9ee40214d3751216
Prevent controller from dropping replicas when best possible fails to calculate assignment
### Issues - [ ] My PR addresses the following Helix issues and references them in the PR description: fixes #3018 ### Description - [ ] Here are some details about my PR, including screenshots of any UI changes: Change behavior in message generation when state exists in current state map but not in the ...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/stages/MessageGenerationPhase.java b/helix-core/src/main/java/org/apache/helix/controller/stages/MessageGenerationPhase.java index 859c6679e9..722b617d3c 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/stages/MessageGenerationPhase.java...
1
1
0
[{"id": "G0", "claim": "The explanatory comment on the added instanceStateMap guard should also include the case when the replica number is reduced.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}]
null
apache__helix__3043
apache/helix
3,043
defect
3d2e8362ac003c60bdf678c193ec64383e6a98e7
2ce7ded87c85a59e044cd4c3d472aab7069ed8fd
[Message Prioritization] - Add currentReplicaNumber metadata for message prioritization
### Issues - [ ] My PR addresses the following Helix issues and references them in the PR description: Fixes #3042 ### Description - [ ] Here are some details about my PR, including screenshots of any UI changes: Enhances Helix's message generation phase to prioritize upward state transitions from...
diff --git a/helix-core/src/main/java/org/apache/helix/controller/stages/MessageGenerationPhase.java b/helix-core/src/main/java/org/apache/helix/controller/stages/MessageGenerationPhase.java index 859c6679e9e..b19752e9c6e 100644 --- a/helix-core/src/main/java/org/apache/helix/controller/stages/MessageGenerationPhase.ja...
15
13
1
[{"id": "G0", "claim": "The helper's method name does not match its description and should be renamed to clarify that it collects only upward transitions to the top or second-top state, not all pending upward transitions.", "category": "maintainability", "verdict": "supported", "priority": "P2", "scope": "introduced"},...
null
apache__helix__3052
apache/helix
3,052
defect
3d2e8362ac003c60bdf678c193ec64383e6a98e7
8578107512210a826c0b3c89b71e01dedd38b800
Fix global lock contention in `DistClusterControllerStateModel` caused by `Optional.empty()` singleton
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: This PR fixes #3050 : _controllerOpt getting shared across resources ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: Refer to #3050 for Problem description....
diff --git a/helix-core/src/main/java/org/apache/helix/participant/DistClusterControllerStateModel.java b/helix-core/src/main/java/org/apache/helix/participant/DistClusterControllerStateModel.java index 42f0e4b416..8710119d6d 100644 --- a/helix-core/src/main/java/org/apache/helix/participant/DistClusterControllerStateM...
3
2
1
[{"id": "G0", "claim": "The _controllerOpt field should be made volatile because it is re-instantiated in multiple threads and a processor may otherwise use a stale cached reference.", "category": "correctness", "verdict": "supported", "priority": "P1", "scope": "pre_existing"}, {"id": "G1", "claim": "The 2-second comp...
null
apache__helix__3058
apache/helix
3,058
defect
f87d948598b33de0788653c2438307bf089dece6
f756e5e5b0ab5bb97294900c285eeb0bcdab924e
Fix a race condition in metaclient leader election
### Issues - [X] My PR addresses the following Helix issues and references them in the PR description: #3059 ### Description - [X] Here are some details about my PR, including screenshots of any UI changes: Fix a race condition in metaclient leader election. When the client gets an expired event, it need ...
diff --git a/meta-client/src/main/java/org/apache/helix/metaclient/recipes/leaderelection/LeaderElectionClient.java b/meta-client/src/main/java/org/apache/helix/metaclient/recipes/leaderelection/LeaderElectionClient.java index fc25289a86..d788d6c62e 100644 --- a/meta-client/src/main/java/org/apache/helix/metaclient/rec...
3
2
0
[{"id": "G0", "claim": "The pull request description should be expanded to give a comprehensive description of what the PR fixes.", "category": "documentation", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "The listener (re)subscription logic duplicated across first-time start...
null
apache__helix__3102
apache/helix
3,102
defect
6bef6b9fc4cb0418f95e01d9d76300d8cbae2af6
41baa97dd29a0117e3b475e7f0b6cdc0f6f05a78
Helix fails to connect with Kerberos enabled ZK
### Issues - fixes #3101 ### Description Refer #3101 for details on the issue ### Tests - Verified the changes through unit test cases - Verified Change through Quickstart sample App In the Quickstart sample app, I have enabled Zookeeper Kerberos authentication and verified the fix **Quickstar...
diff --git a/zookeeper-api/src/main/java/org/apache/helix/zookeeper/zkclient/ZkClient.java b/zookeeper-api/src/main/java/org/apache/helix/zookeeper/zkclient/ZkClient.java index 1b227b432c..6e4fd7fba8 100644 --- a/zookeeper-api/src/main/java/org/apache/helix/zookeeper/zkclient/ZkClient.java +++ b/zookeeper-api/src/main/...
1
1
1
[{"id": "G0", "claim": "Accepting SaslAuthenticated/ConnectedReadOnly unconditionally in waitForKeeperState could impact the original logic, so it should be made conditional on a native Kerberos-enabled check or a config flag to stay backward compatible.", "category": "design", "verdict": "supported", "priority": "P1",...
null
apache__helix__792
apache/helix
792
defect
f80d76e602feb2814aac8ea489d8cccdc76d6ba3
c2232de7d2bdde91f0239ccfd0cafa990a4a28f3
Add java API to add or remove CustomizedStateAggregationConfig
### Issues - [x] My PR addresses the following Helix issues and references them in the PR title: Fixes #790 ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: In this PR the below APIs have been added. 1- addCustomizedStateAggregationConfig 2- removeCustomizedSta...
diff --git a/helix-core/src/main/java/org/apache/helix/ConfigAccessor.java b/helix-core/src/main/java/org/apache/helix/ConfigAccessor.java index 43d47cd5c3..7eed9a3d40 100644 --- a/helix-core/src/main/java/org/apache/helix/ConfigAccessor.java +++ b/helix-core/src/main/java/org/apache/helix/ConfigAccessor.java @@ -579,7...
1
1
1
[{"id": "G0", "claim": "The API only adds or removes the whole CustomizedStateAggregationConfig, but users usually need to add or remove a single type (item) in the list view.", "category": "design", "verdict": "supported", "priority": "P1", "scope": "introduced"}]
null
apache__helix__797
apache/helix
797
defect
dc25323529bde61e3c7f924efb3c615ba9648fda
86254ba5ef03cd1e1c08084bb4966d97fab33150
Add REST API to add, remove and update CustomizedStateAggregationConfig
### Issues - [x] My PR addresses the following Helix issues and references them in the PR title: Fixes #791 ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: In this commit the below REST APIs have been added. 1- addCustomizedStateAggregationConfig 2- removeCust...
diff --git a/helix-core/src/test/java/org/apache/helix/manager/zk/TestZkHelixAdmin.java b/helix-core/src/test/java/org/apache/helix/manager/zk/TestZkHelixAdmin.java index df9336c1a6..10f5d7235e 100644 --- a/helix-core/src/test/java/org/apache/helix/manager/zk/TestZkHelixAdmin.java +++ b/helix-core/src/test/java/org/apa...
11
9
0
[{"id": "G0", "claim": "The REST endpoint path `customizedstateaggregationconfig` is hard to read and write and should be changed to snake-case such as `customized-state-xxx`.", "category": "design", "verdict": "supported", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "For the caught HelixException w...
null
apache__helix__799
apache/helix
799
defect
2d5b77f5020b1b0c1cd211536ef653450a4cfeec
68b7f76bba8800d3620834ff77eb7b4764b95734
[helix-rest] Add endpoint to get namespace routing data
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: Implements #798 ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: Add Java API to support get mapping of all sharding keys by realm: realm -> list of sha...
diff --git a/helix-rest/src/main/java/org/apache/helix/rest/metadatastore/MetadataStoreDirectory.java b/helix-rest/src/main/java/org/apache/helix/rest/metadatastore/MetadataStoreDirectory.java index 032362a1c6..716ef25e9b 100644 --- a/helix-rest/src/main/java/org/apache/helix/rest/metadatastore/MetadataStoreDirectory.j...
5
3
1
[{"id": "G0", "claim": "MetadataStoreDirectory.getShardingKeysByRealm should use Collection<String> instead of List<String> in its return type for consistency with the other APIs.", "category": "maintainability", "verdict": "opposed", "priority": "P2", "scope": "introduced"}, {"id": "G1", "claim": "ZkMetadataStoreDirec...
null
apache__helix__809
apache/helix
809
defect
19811eaa32e532a4ddf8c4168391ebc28ba11e75
3d772ffd135b8d648ec914fa253002dce9b5616c
Add system property options to config write size limit for ZNRecord Serializer
### Issues - [x] My PR addresses the following Helix issues and references them in the PR description: Implements #808 ### Description - [x] Here are some details about my PR, including screenshots of any UI changes: Auto compression is by default enabled now in ZK serializer. Customers requested an opt...
diff --git a/zookeeper-api/src/main/java/org/apache/helix/zookeeper/constant/ZkSystemPropertyKeys.java b/zookeeper-api/src/main/java/org/apache/helix/zookeeper/constant/ZkSystemPropertyKeys.java new file mode 100644 index 0000000000..474271781b --- /dev/null +++ b/zookeeper-api/src/main/java/org/apache/helix/zookeeper/...
5
3
2
[{"id": "G0", "claim": "Asked what happens if the user makes a typo when setting the system property, concerned a typo would be silently mishandled.", "category": "correctness", "verdict": "uncertain", "priority": "P3", "scope": "introduced"}, {"id": "G1", "claim": "Auto compression should be enabled by default (the de...
null