kubeblocks icon indicating copy to clipboard operation
kubeblocks copied to clipboard

[BUG] timeoutSeconds in opsRequest cannot work

Open ian-hui opened this issue 6 months ago • 0 comments

Describe the bug A clear and concise description of what the bug is.

there is a field names TimeoutSeconds in opsRequest as shown below.

	// Specifies the maximum duration (in seconds) that an opsRequest is allowed to run.
	// If the opsRequest runs longer than this duration, its phase will be marked as Aborted.
	// If this value is not set or set to 0, the timeout will be ignored and the opsRequest will run indefinitely.
	// +optional
	// +kubebuilder:Minimum=0
	TimeoutSeconds *int32 `json:"timeoutSeconds,omitempty"`

I set it to 60 and create a scaling opsRequest. I find the opsRequest marked Aborted immediately. That's not make sense. image

ian-hui avatar Aug 08 '24 13:08 ian-hui