Skip to content

Conversation

@Syspretor
Copy link
Collaborator

In the current webhook design, to avoid generating excessive API requests to the apiserver, a cacheClient implementation is used in the webhook. However, under heavy load on the apiserver or communication link issues, this can lead to delays in resource status updates within the webhook, causing problems such as state verification failures or resource retrieval failures. This PR introduces new error types for errors returned during the mutation process. For errors of this type, the webhook will use a direct client connection to the apiserver for retries.

@fluid-e2e-bot
Copy link

fluid-e2e-bot bot commented Jul 16, 2025

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign yangyuliufeng for approval by writing /assign @yangyuliufeng in a comment. For more information see:The Kubernetes Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@Syspretor Syspretor force-pushed the enhancement/support-retry-by-apireader-in-webhook branch 4 times, most recently from 6a57442 to 71da6a8 Compare July 17, 2025 02:32
@cheyang cheyang self-requested a review July 22, 2025 01:36
@Syspretor Syspretor changed the title Enhancement: support to try by apireader client in webhook Enhancement: support to retry by apireader client in webhook Jul 22, 2025
@Syspretor Syspretor force-pushed the enhancement/support-retry-by-apireader-in-webhook branch 3 times, most recently from 97bad3b to 5585476 Compare August 6, 2025 07:39
…webhook

Signed-off-by: 玖宇 <guotongyu.gty@alibaba-inc.com>
@Syspretor Syspretor force-pushed the enhancement/support-retry-by-apireader-in-webhook branch from 5585476 to 180efd2 Compare August 6, 2025 07:42
@sonarqubecloud
Copy link

sonarqubecloud bot commented Aug 6, 2025

@Syspretor Syspretor requested a review from cheyang August 6, 2025 08:46
Copy link
Collaborator

@cheyang cheyang left a comment

Choose a reason for hiding this comment

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

/lgtm
/approve

@cheyang cheyang merged commit 5fdf3d2 into fluid-cloudnative:master Aug 7, 2025
13 of 14 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.

2 participants