Skip to content

Helix behavior change since 1.4.0 #3014

Description

@Jackie-Jiang

Describe the bug

There is a behavior change of Helix when upgrading from 1.3.1:
When a partition is set to OFFLINE (initial state) in the ideal state, it is no longer showing up in the instance current state, thus not showing up in the external view.
With 1.3.1, I can find the following part in the current state ZNRecord:

    "mytable__1__1__20250327T2130Z": {
      "CURRENT_STATE": "OFFLINE"
    },

This is no longer there after upgrading Helix to 1.4.3
I suspect it is related to #2772 but I haven't found the exact code change.

To Reproduce

With custom rebalance mode, create a partition with OFFLINE state, then start the instance.

Expected behavior

Same behavior as 1.3.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions