Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release for helix 1.3.2-dev-202406121430 #6

Merged
merged 11 commits into from
Jun 12, 2024
Merged

Release for helix 1.3.2-dev-202406121430 #6

merged 11 commits into from
Jun 12, 2024

Conversation

zpinto
Copy link
Member

@zpinto zpinto commented Jun 12, 2024

Issues

Release for helix 1.3.2-dev-202406121430

Description

  • Replace the HELIX_ENABLED config with InstanceOperation while maintaining compatibility
  • Prevent MetaClient LeaderElectionClient isLeader NPE before joining
  • Add SetPartitionToError for participants to self-annotate partitions as errors
  • Enable JDK 1.8 (backward) compatibility for additional components
  • Update logic for metric calculation when replica is not found
  • Enable JDK 1.8 (backward) compatibility for dependencies
  • Deprecate HELIX_DISABLED_REASON and refactor how InstanceOperation is managed
  • Fix config for metaclient leader election client (Fix config for metaclient apache/helix#2807)

dependabot bot and others added 11 commits April 11, 2024 10:12
Bumps [tar](https://github.com/isaacs/node-tar) from 6.1.11 to 6.2.1.
- [Release notes](https://github.com/isaacs/node-tar/releases)
- [Changelog](https://github.com/isaacs/node-tar/blob/main/CHANGELOG.md)
- [Commits](isaacs/node-tar@v6.1.11...v6.2.1)

---
updated-dependencies:
- dependency-name: tar
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ning backwards compatibility with old APIs (apache#2772)

Replace the HELIX_ENABLED config with InstanceOperation while maintaining backwards compatibility with old APIs.

In order to unify HELIX_ENABLED functionality with InstanceOperation, InstanceOperation will now have the following options: ENABLE, DISABLE, EVACUATE, SWAP_IN, UNKNOWN
…ool (apache#2798)

Prevent MetaClient LeaderElectionClient isLeader NPE before joining pool
…notate a node to ERROR state (apache#2792)

Co-authored-by: Charanya Sudharsanan <[email protected]>

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 seem to be stuck in a specific current state. The only way a replica can be set to ERROR is from within a state model. Having an endpoint to allow this behavior would allow the clients to call the resetPartition endpoint to set it back to INIT state and recover the replica. resetPartition works only on partitions in error state.
…lient (apache#2799)

We would like to provide a backward compatible support to our consumers where they also have an option to use JDK-8 compiled helix-core and meta-client jar, if they have such a requirement. By default we will generate JDK-11 jars and JDK-8 jars using a classifier.
…r meta-client (apache#2802)

We would like to provide a backward compatible support to our consumers where they also have an option to use JDK-8 compiled meta-client jar, if they have such a requirement. By default we will generate JDK-11 jars and JDK-8 jars using a classifier.
…s set to ANY_LIVEINSTANCE (apache#2804)

This PR updates logic for metric calculation when replica is set to ANY_LIVEINSTANCE to avoid NFE.
…nt modules of meta-client and helix-core (apache#2806)

We would like to provide a backward compatible support to our consumers where they also have an option to use JDK-8 compiled meta-client jar, if they have such a requirement. By default we will generate JDK-11 jars and JDK-8 jars using a classifier. In this PR, we are enabling the JDK* build of full sub-tree of the helix-core and meta-client modules. This includes:
helix-common, zookeeper-api, metadata-store-directory-common, metrics-common
… represented in instance configs. (apache#2801)

Deprecate HELIX_DISABLED_REASON and HELIX_DISABLED_TYPE; Refactor INSTANCE_OPERATION to HELIX_INSTANCE_OPERATIONS List Field

To prevent conflicts from different clients setting the InstanceOperation, we are introducing the HELIX_INSTANCE_OPERATIONS list.

Key changes:
- Clients using the old Helix enabled APIs will take precedence over INSTANCE_DISABLED_OVERRIDABLE_OPERATIONS when those fields are set.
- When the new InstanceOperation APIs set the operation type to DISABLE, the old HELIX_ENABLED field will also be set for backwards compatibility.
- For all InstanceOperation API invocations, the source will default to USER unless specified otherwise. An AUTOMATION source will create a separate entry in the list.
- The most recent non-ENABLE InstanceOperation entry will be the active InstanceOperation used by the controller and returned by the getInstanceOperation API.

These changes ensure smoother operation transitions and maintain compatibility with existing APIs.
@zpinto zpinto merged commit 46c4b37 into release Jun 12, 2024
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants