Skip to content

Fix it is slow for deploy update when cluster is offline - #1363

Merged
HaiHui886 merged 1 commit into
mainfrom
sync_mr_2831_319ad30
Aug 13, 2026
Merged

Fix it is slow for deploy update when cluster is offline#1363
HaiHui886 merged 1 commit into
mainfrom
sync_mr_2831_319ad30

Conversation

@Rader

@Rader Rader commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator

Summary:

  • Fixed slow DeployUpdate response for stopped deployments by skipping the deployer.Exist() call, which unnecessarily times out when the K8s service is already deleted.
  • Replaced database-only cluster validation (ByClusterID) with deployer.CheckClusterHealthy() to accurately detect and reject offline/unhealthy clusters.

@Rader

Rader commented Aug 12, 2026

Copy link
Copy Markdown
Collaborator Author

Depends on #1362

@HaiHui886 HaiHui886 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

lgtm

@HaiHui886
HaiHui886 merged commit 6c760e2 into main Aug 13, 2026
7 checks passed
@HaiHui886
HaiHui886 deleted the sync_mr_2831_319ad30 branch August 13, 2026 00:59
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.

2 participants