Skip to content

SDKQE-3671: Add failover node commands to docker deployer#139

Merged
willbroadbelt merged 1 commit into
masterfrom
addNodeFailoverCmd
Aug 5, 2025
Merged

SDKQE-3671: Add failover node commands to docker deployer#139
willbroadbelt merged 1 commit into
masterfrom
addNodeFailoverCmd

Conversation

@willbroadbelt
Copy link
Copy Markdown
Contributor

New commands:

  • 'nodes-failover' with hard/graceful options
  • 'nodes-failover-recover' with recovery type options
  • Both commands have rebalance after option

Copy link
Copy Markdown
Contributor

@CosmicSaaurabh CosmicSaaurabh left a comment

Choose a reason for hiding this comment

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

Just a comment, Rest looks good to me!

Comment thread cmd/nodes-failover-recover.go Outdated
Comment thread cmd/nodes-failover.go Outdated
Comment thread cmd/nodes-failover.go Outdated
Comment thread deployment/deployer.go Outdated
Comment thread deployment/dockerdeploy/deployer.go Outdated
Comment thread deployment/dockerdeploy/deployer.go Outdated
@willbroadbelt willbroadbelt force-pushed the addNodeFailoverCmd branch 2 times, most recently from 9c1893c to 10a5e97 Compare August 1, 2025 16:27
brett19
brett19 previously approved these changes Aug 1, 2025
Copy link
Copy Markdown
Collaborator

@brett19 brett19 left a comment

Choose a reason for hiding this comment

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

Approved, although a small nit for later that this naming/description could probably be improved:

	Use:   "failover-recover <cluster-id> <node-id-or-ip>",
	Short: "Set recovery mode for a node/s in the cluster",

@willbroadbelt willbroadbelt force-pushed the addNodeFailoverCmd branch 2 times, most recently from 811b4e1 to 1272009 Compare August 1, 2025 17:09
New commands:
 - 'nodes-failover' with hard/graceful options
 - 'nodes-failover-recover' with recovery type options
 - 'rebalance' to rebalance cluster with optional nodes to eject
Copy link
Copy Markdown
Contributor

@CosmicSaaurabh CosmicSaaurabh left a comment

Choose a reason for hiding this comment

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

LGTM

@willbroadbelt willbroadbelt merged commit eeb539e into master Aug 5, 2025
4 checks passed
@willbroadbelt willbroadbelt deleted the addNodeFailoverCmd branch August 5, 2025 10:45
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