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

State transition not performed with shortest distance #2751

Open
Jackie-Jiang opened this issue Feb 1, 2024 · 3 comments
Open

State transition not performed with shortest distance #2751

Jackie-Jiang opened this issue Feb 1, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@Jackie-Jiang
Copy link

Describe the bug

The state machine has the following state transitions:

  • CONSUMING -> OFFLINE
  • OFFLINE -> DROPPED
  • CONSUMING -> DROPPED

When a partition of state CONSUMING is dropped from the ideal state, we expect one state transition CONSUMING -> DROPPED to be sent. But we observe it is performed as 2 state transitions: CONSUMING -> OFFLINE followed by OFFLINE -> DROPPED

Is this the expected behavior? Could this be a regression?

@jiajunwang
Copy link
Contributor

jiajunwang commented Feb 2, 2024 via email

@Jackie-Jiang
Copy link
Author

@jiajunwang Thanks for the response! Is there a workaround to force Helix to do CONSUMING -> DROPPED as 1 state transition instead of 2?

@jiajunwang
Copy link
Contributor

jiajunwang commented Feb 6, 2024 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants