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

[DNM] MCOL-5133: Stage3 stand alone cli tool. #3397

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

mariadb-AlanMologorsky
Copy link
Contributor

MAJOR: Some logic inside node remove changed significantly using active
nodes list from Columnstore.xml to broadcast config after remove.

  • [fix] remove node logic to use Transaction manager
  • [fix] cluster set api key call using totp on a top level cli call
  • [add] missed docstrings

@mariadb-AlanMologorsky mariadb-AlanMologorsky changed the title MCOL-5133: Stage3 stand alone cli tool. [DNM] MCOL-5133: Stage3 stand alone cli tool. Jan 31, 2025
)
response.raise_for_status()
return response.json()
# TODO: different handler for timeout exception?
Copy link
Collaborator

Choose a reason for hiding this comment

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

Good idea.
Could you point me where do we release the lock if something went south during execution of a command on a cluster ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Api client itself just calling remote endpoint, thansaction mechanics never used here. Otherwise it's used on a top level. For eg. here

[add] cluster api client class
[fix] cli cluster_app using cluster api client
[add] ClusterAction Enum
[add] toggle_cluster_state function to reduce code duplication
[add] cluster api client class
[fix] cli cluster_app using cluster api client
[add] ClusterAction Enum
[add] toggle_cluster_state function to reduce code duplication
[fix] client class methods
[fix] Transaction management at endpoint handling level
[fix] add_node and set_mode methods to use TransactionManager
@mariadb-AlanMologorsky mariadb-AlanMologorsky force-pushed the feature/MCOL-5133-stage3-stand-alone-cli branch 2 times, most recently from 3a8c85b to f6c2a17 Compare February 27, 2025 13:00
    MAJOR: Some logic inside node remove changed significantly using active
    nodes list from Columnstore.xml to broadcast config after remove.

 [fix] remove node logic to use Transaction manager
 [fix] cluster set api key call using totp on a top level cli call
 [add] missed docstrings
 [fix] cluster shutdown timeout for next release
@mariadb-AlanMologorsky mariadb-AlanMologorsky force-pushed the feature/MCOL-5133-stage3-stand-alone-cli branch from f6c2a17 to 8591b3f Compare February 27, 2025 15:51
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