Skip to content

Conversation

@ngngwr
Copy link
Collaborator

@ngngwr ngngwr commented Nov 17, 2025

Issues

apache#3077

Description

  • Here are some details about my PR, including screenshots of any UI changes:

(Write a concise description including what, why, how)

We are observing this issue when the resource gets deleted midway by customer scripts after (!_zkClient.exists(zkPath)) check and another process is trying to update the deleted resource's idealstate. The resource gets created with just the updated parameters in the API payload.

This can lead to rebalance failure as well when the updated parameters does not contain the num of partitions. Rebalancer considers num_partition for this resource as -1 leading to rebalance failure.

Tests

Unit Tests added
Verified the API changes locally.

Copy link
Collaborator

@LZD-PratyushBhatt LZD-PratyushBhatt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@ngngwr ngngwr merged commit 33558bc into dev Nov 17, 2025
1 of 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.

3 participants