Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@whitehawk
Copy link

Implement skeleton for basic shrink scenario

This patch implements a state machine skeleton for a basic shrink scenario based
on 'transitions' library. It consists of a new 'ggrebalance' tool, which will be
a single entry point for shrink, expand, and cluster rebalance functionality,
and 'shrink.py', which contains the state machine itself with the shrink logic.

The main purpose of this half-MVP is to evaluate the state machine pattern
suitability. Therefore it implements only a limited set of requirements for the
shrink, which allows you to support basic shrink workflow.

@dkovalev1
Copy link

In general it looks good to me, basic scenario worked for me, just a few more cosmetic changes please.

Copy link
Member

@bimboterminator1 bimboterminator1 left a comment

Choose a reason for hiding this comment

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

LGTM, the state machine apprach is brilliantly implemented

@bandetto
Copy link
Member

Should we use a formatter for new python code? autopep8 or black/ruff?

@whitehawk
Copy link
Author

Should we use a formatter for new python code? autopep8 or black/ruff?

As long as we haven't agreed on the Python's linter to use across the entire product, I consider it as out of scope of this task.

@whitehawk whitehawk merged commit 69fb3e9 into feature/ADBDEV-6608 Sep 23, 2025
1 check passed
@whitehawk whitehawk deleted the ADBDEV-8071 branch September 23, 2025 10:09
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.

5 participants