-
Notifications
You must be signed in to change notification settings - Fork 115
Description
🐛 Missing type
API name: Transform API (operation-transform-put-transform)
Issue
The API for Elasticsearch transform supports a setting called num_failure_retries, which allows the transform to retry indefinitely for recoverable failures when set to -1. However, this option is missing from both the official Transform API documentation (reference) and the elasticsearch-specification.
Calling the API with this option works, but it is not in the API spec.
Definition
num_failure_retries:
(Optional, integer) Defines the number of retries for a recoverable failure before the transform task is marked asfailed. The minimum value is-1, which indicates infinite retries, and the maximum value is100. When set to-1, the transform never stops retrying a recoverable failure. If unset, the transform uses the cluster-level settingnum_transform_failure_retries.This setting cannot be specified when
unattendedistrue, because unattended transforms always retry indefinitely.
References:
- https://github.com/elastic/elasticsearch/blob/760ffd44b50664221d0618f10d534d1f10a531bc/x-pack/plugin/core/src/main/java/org/elasticsearch/xpack/core/transform/transforms/SettingsConfig.java
- [Transform] Implement per-transform num_failure_retries setting. elasticsearch#87361
- https://registry.terraform.io/providers/elastic/elasticstack/latest/docs/resources/elasticsearch_transform#num_failure_retries-3
- Transform API reference
- Package spec validation (this incorporates the elasticsearch-specification of transforms and will be updated after this issue is addressed)